summaryrefslogtreecommitdiff
path: root/archivers/pax
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-14 02:33:32 +0000
committerjlam <jlam@pkgsrc.org>2004-08-14 02:33:32 +0000
commit896e92919d92caabe78eedb30fa6c2c72448c4f0 (patch)
treef631e159d982bcf42bc94bc412d1f6686657271c /archivers/pax
parentda372e20b8e77ccf42e88894471eb46e2104ea72 (diff)
downloadpkgsrc-896e92919d92caabe78eedb30fa6c2c72448c4f0.tar.gz
If LIBNBCOMPAT_STYLE is set to "inplace", then build and use a local
version of libnbcompat instead of requiring libnbcompat to be installed. This simplifies testing of bootstrap packages without root privileges on a system that has already been bootstrapped.
Diffstat (limited to 'archivers/pax')
-rw-r--r--archivers/pax/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile
index ec66cf6d5a5..6ac416e770b 100644
--- a/archivers/pax/Makefile
+++ b/archivers/pax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/07/03 02:50:32 grant Exp $
+# $NetBSD: Makefile,v 1.16 2004/08/14 02:33:32 jlam Exp $
#
DISTNAME= pax-20040703
@@ -20,8 +20,15 @@ NO_PKG_REGISTER= # defined
NO_PACKAGE= Deinstallation is not permitted
PKG_PRESERVE= # defined
+.include "../../mk/bsd.prefs.mk"
+
do-extract:
@${CP} -Rp ${FILESDIR} ${WRKSRC}
-.include "../../pkgtools/libnbcompat/buildlink3.mk"
+.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace")
+. include "../../pkgtools/libnbcompat/inplace.mk"
+.else
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+.endif
+
.include "../../mk/bsd.pkg.mk"