summaryrefslogtreecommitdiff
path: root/archivers/pax
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-14 02:33:32 +0000
committerjlam <jlam>2004-08-14 02:33:32 +0000
commitbe53af9b6d33948fa9717ec56440129eb0def178 (patch)
treef631e159d982bcf42bc94bc412d1f6686657271c /archivers/pax
parent8805b6a38b4d8cc8b311b1a36b42b39a564411f3 (diff)
downloadpkgsrc-be53af9b6d33948fa9717ec56440129eb0def178.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"