aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-10 16:40:21 +0800
committerbapt <bapt@FreeBSD.org>2012-10-10 16:40:21 +0800
commit6ed33702d3d789b4c44df48858a836c038a1c356 (patch)
tree7d28e5321f8daba5c89b8ea946b79d05c1dd65c1 /Mk/bsd.port.subdir.mk
parent1cf51cb0e27bf92a3c8b85fa8ff62e902e0d7fae (diff)
downloadfreebsd-ports-gnome-6ed33702d3d789b4c44df48858a836c038a1c356.tar.gz
freebsd-ports-gnome-6ed33702d3d789b4c44df48858a836c038a1c356.tar.zst
freebsd-ports-gnome-6ed33702d3d789b4c44df48858a836c038a1c356.zip
Switching current to use pkgng by default
Adding WITHOUT_PKGNG for people not willing to migrate to pkgng now Hat: portmgr Non-regression: beat Exp-runs: beat
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 56567fa4c23d..efa6d562ca4e 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -77,6 +77,14 @@ OSVERSION!= ${SYSCTL} -n kern.osreldate
.endif
.endif
+.if ${OSVERSION} >= 1000017
+.if !defined(WITHOUT_PKGNG)
+WITH_PKGNG= yes
+.else
+.undef WITH_PKGNG
+.endif
+.endif
+
.if !defined(_OSRELEASE)
_OSRELEASE!= uname -r
.endif