diff options
| author | Glen Barber <gjb@FreeBSD.org> | 2019-10-08 18:58:23 +0000 |
|---|---|---|
| committer | Glen Barber <gjb@FreeBSD.org> | 2019-10-08 18:58:23 +0000 |
| commit | 48c8f7d45441d7b3ce1a3194c462506d72681569 (patch) | |
| tree | c1e977aa64e0ab6efbbfadd522737702f8fe0eca /usr.sbin/pkg | |
| parent | 1e80e4f26cfc0d2881f062c406358c5b6cb251ee (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg')
| -rw-r--r-- | usr.sbin/pkg/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/pkg/Makefile b/usr.sbin/pkg/Makefile index 98b6cb8afdf9..ebfb71c1699b 100644 --- a/usr.sbin/pkg/Makefile +++ b/usr.sbin/pkg/Makefile @@ -1,14 +1,18 @@ # $FreeBSD$ -.if ${MACHINE} != "amd64" && ${MACHINE} != "i386" -PKGCONFBRANCH?= quarterly -.else _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" +PKGCONFBRANCH?= quarterly +. else PKGCONFBRANCH?= latest +. endif . endif .endif CONFS= FreeBSD.conf.${PKGCONFBRANCH} |
