mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
If build logic breaks such that we can't figure out which branch we're on, we should error out rather than shipping a default (and probably wrong) /etc/pkg/FreeBSD.conf Reviewed by: ivy MFC after: 5 minutes Suggested by: ivy Differential Revision: https://reviews.freebsd.org/D53487
35 lines
895 B
Makefile
35 lines
895 B
Makefile
PACKAGE= pkg-bootstrap
|
|
|
|
.MAKEFLAGS: -W
|
|
_BRANCH!= ${MAKE} -C ${SRCTOP}/release -V BRANCH
|
|
BRANCH?= ${_BRANCH}
|
|
.if ${BRANCH:MCURRENT} != ""
|
|
PKGCONFBRANCH?= latest
|
|
.else
|
|
. if ${BRANCH:MBETA*} || ${BRANCH:MRC*} || ${BRANCH:MRELEASE*}
|
|
PKGCONFBRANCH?= quarterly-release
|
|
. 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 rsa.c dns_utils.c config.c ecc.c hash.c
|
|
MAN= pkg.7
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/libucl/include
|
|
.PATH: ${SRCTOP}/contrib/libucl/include
|
|
LIBADD= archive der fetch pkgecc ucl crypto ssl util md
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/libder/libder
|
|
CFLAGS+=-I${SRCTOP}/crypto/libecc/include
|
|
|
|
.include <bsd.prog.mk>
|