As with i386 and amd64, "latest" packages are available on stable branches for arm64/aarch64. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35445
34 lines
767 B
Makefile
34 lines
767 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= pkg-bootstrap
|
|
|
|
_BRANCH!= ${MAKE} -C ${SRCTOP}/release -V BRANCH
|
|
BRANCH?= ${_BRANCH}
|
|
.if ${BRANCH:MCURRENT} != ""
|
|
PKGCONFBRANCH?= latest
|
|
.else
|
|
. if ${BRANCH:MBETA*} || ${BRANCH:MRC*} || ${BRANCH:MRELEASE*}
|
|
PKGCONFBRANCH?= quarterly
|
|
. else
|
|
. if ${MACHINE} != "amd64" && ${MACHINE} != "i386" && ${MACHINE} != "arm64"
|
|
PKGCONFBRANCH?= quarterly
|
|
. else
|
|
PKGCONFBRANCH?= latest
|
|
. endif
|
|
. endif
|
|
.endif
|
|
PKGCONF?= FreeBSD.conf.${PKGCONFBRANCH}
|
|
CONFS= ${PKGCONF}
|
|
CONFSNAME_${PKGCONF}= ${PKGCONF:C/\.conf.+$/.conf/}
|
|
CONFSDIR= /etc/pkg
|
|
CONFSMODE= 644
|
|
PROG= pkg
|
|
SRCS= pkg.c dns_utils.c config.c
|
|
MAN= pkg.7
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
|
.PATH: ${SRCTOP}/contrib/libucl/include
|
|
LIBADD= archive fetch ucl crypto ssl util
|
|
|
|
.include <bsd.prog.mk>
|