aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-02-06 06:57:20 +0800
committerpav <pav@FreeBSD.org>2007-02-06 06:57:20 +0800
commit834d3f4dcff21510a1dbf3f6dd6fce27c29afdb7 (patch)
tree76abf508d98bb96036865ddd34bbfc878c61f1d7 /Mk
parent34d556dc79f337a8b335061950fac7e3fae9398c (diff)
downloadfreebsd-ports-gnome-834d3f4dcff21510a1dbf3f6dd6fce27c29afdb7.tar.gz
freebsd-ports-gnome-834d3f4dcff21510a1dbf3f6dd6fce27c29afdb7.tar.zst
freebsd-ports-gnome-834d3f4dcff21510a1dbf3f6dd6fce27c29afdb7.zip
- Force new pkg_install suite on people on systems older than January 10 2006.
That is: 4.X, 5.3 and older, 6.0 This fixes tar bailing out cannot finding (null) on make package, and if people use pkg_delete(1) from this port, it fixes the `can't remove (null)/libdata/ldconfig/foo' on deinstall too.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 85069c45f14f..b7e6cac71fe2 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2289,8 +2289,8 @@ PORTDIRNAME?= ${_PORTDIRNAME}
PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME}
-.if (${OSVERSION} < 491101 && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info)
-.if ${OSVERSION} < 491101 && ${PKGORIGIN} != "ports-mgmt/pkg_install"
+.if ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info)
+.if (${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install"
EXTRACT_DEPENDS+= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/ports-mgmt/pkg_install
.endif
.if !defined(DESTDIR)