summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2007-07-10 15:19:17 +0000
committerjoerg <joerg>2007-07-10 15:19:17 +0000
commit42291f3bf7322f0e470d7653c0a67f39ab3c88e4 (patch)
tree0d94dcab8399ec62dac10c90e7afe9f6c22bc7d8 /pkgtools/pkg_install/Makefile
parent64c86c2d6e32c92b59eb0d1bce9d0ef88e7568bc (diff)
downloadpkgsrc-42291f3bf7322f0e470d7653c0a67f39ab3c88e4.tar.gz
Remove PKG_TOOLS_PREFIX handling for mtree, pax, pkg_install and
tnftp. Modifying files and possibly removing them from the base system is doing more harm than use. Bump revision or version of each package.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index a14ec5a5d03..635861d4a0e 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2007/03/11 22:05:03 joerg Exp $
+# $NetBSD: Makefile,v 1.131 2007/07/10 15:19:18 joerg Exp $
# Notes to package maintainers:
#
@@ -66,25 +66,9 @@ FILES_SUBST+= PKG_DBDIR=${PKG_DBDIR:Q} \
.include "../../mk/bsd.prefs.mk"
-PKG_TOOLS_PREFIX= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \
${FILESDIR}/lib/version.h
-# XXX This breaks for those who set their own LOCALBASE to "/usr" and also
-# XXX set PKGMANDIR to be other than "share/man".
-# XXX
-.if !empty(PKG_TOOLS_PREFIX:M/usr)
-PKGMANDIR= share/man
-.endif
-
-# If ${PKG_TOOLS_PREFIX} doesn't match ${LOCALBASE}, then don't run
-# check-files since it's likely ${PKG_TOOLS_PREFIX} contains directories
-# that shouldn't be checked.
-#
-.if ${PKG_TOOLS_PREFIX} != ${LOCALBASE}
-CHECK_FILES_SUPPORTED= no
-.endif
-
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
@@ -99,5 +83,3 @@ update:
.include "../../pkgtools/libnbcompat/inplace.mk"
.include "../../mk/bsd.pkg.mk"
-
-PREFIX:= ${PKG_TOOLS_PREFIX}