summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 22:51:11 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 22:51:11 +0000
commit95af807f0ef4213ef76b8e9bbdaaa8f893d9c21f (patch)
tree407d1b0e35c4d11b94b087f1a9728177bdf14f06 /misc
parent8414314cdadd2d0ad77686ea513bedcbcb9eb82a (diff)
downloadpkgsrc-95af807f0ef4213ef76b8e9bbdaaa8f893d9c21f.tar.gz
Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
Diffstat (limited to 'misc')
-rw-r--r--misc/rpm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 11be5f13cca..e30d3ff57f6 100644
--- a/misc/rpm/Makefile
+++ b/misc/rpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2003/08/30 19:45:00 jlam Exp $
+# $NetBSD: Makefile,v 1.44 2003/08/30 22:51:23 jlam Exp $
DISTNAME= rpm-2.5.4
PKGREVISION= 1
@@ -14,11 +14,14 @@ BUILD_USES_MSGFMT= yes
CONFLICTS+= rpm2cpio<1.0nb1
USE_BUILDLINK2= yes
-USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_PKGINSTALL= yes
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
+INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+
# The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
CONFIGURE_ENV+= varprefix="${RPM_DB_PREFIX}"