mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 10:08:41 -05:00
points at the "latest" branch and one which points at the "quarterly" branch. Install the "latest" version unless overridden via the newly added PKGCONFBRANCH variable. This does not change user-visible behaviour (assuming said vairable is not set) but will make it easier to change the defaults in the future -- on stable branches we will want "latest" on x86 but "quarterly" elsewhere. Discussed with: gjb MFC after: 3 days X-MFC: After MFCing this I'll make a direct commit to stable/* to switch non-x86 architectures to "quarterly".
16 lines
336 B
Makefile
16 lines
336 B
Makefile
# $FreeBSD$
|
|
|
|
PKGCONFBRANCH?= latest
|
|
CONFS= FreeBSD.conf.${PKGCONFBRANCH}
|
|
CONFSNAME= FreeBSD.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 sbuf crypto ssl
|
|
|
|
.include <bsd.prog.mk>
|