summaryrefslogtreecommitdiff
path: root/pkgtools/mtree
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-14 20:11:10 +0000
committerjlam <jlam>2006-07-14 20:11:10 +0000
commit8236f84f57956b8f43bae8f536ecee298b49581b (patch)
treea89d317025aa6a5f5627ace6d1986ef3a79228e5 /pkgtools/mtree
parent6c7162ddb4bd4cd5df237b194d99b48d25710852 (diff)
downloadpkgsrc-8236f84f57956b8f43bae8f536ecee298b49581b.tar.gz
For the pkgtools versions of mtree and pax, always use libnbcompat
"in-place", and for the normal versions of mtree and pax, always use libnbcompat as a normal build dependency.
Diffstat (limited to 'pkgtools/mtree')
-rw-r--r--pkgtools/mtree/Makefile3
-rw-r--r--pkgtools/mtree/Makefile.common8
2 files changed, 3 insertions, 8 deletions
diff --git a/pkgtools/mtree/Makefile b/pkgtools/mtree/Makefile
index bd5df09d2a7..2a9939ee02a 100644
--- a/pkgtools/mtree/Makefile
+++ b/pkgtools/mtree/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/07/14 19:54:47 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2006/07/14 20:11:10 jlam Exp $
#
# This version of mtree installs into ${PKG_TOOLS_BIN}.
#
@@ -19,6 +19,7 @@ PKG_TOOLS_PREFIX= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
PKGMANDIR= share/man
.endif
+.include "../../pkgtools/libnbcompat/inplace.mk"
.include "../../mk/bsd.pkg.mk"
PREFIX:= ${PKG_TOOLS_PREFIX}
diff --git a/pkgtools/mtree/Makefile.common b/pkgtools/mtree/Makefile.common
index 88c5f693abb..7248ac5362e 100644
--- a/pkgtools/mtree/Makefile.common
+++ b/pkgtools/mtree/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2006/07/14 19:54:47 jlam Exp $#
+# $NetBSD: Makefile.common,v 1.2 2006/07/14 20:11:10 jlam Exp $#
#
# This Makefile fragment is included by:
#
@@ -24,11 +24,5 @@ PKGDIR= ${.CURDIR}/../../pkgtools/mtree
.include "../../mk/bsd.prefs.mk"
-.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace")
-. include "../../pkgtools/libnbcompat/inplace.mk"
-.else
-. include "../../pkgtools/libnbcompat/buildlink3.mk"
-.endif
-
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}