summaryrefslogtreecommitdiff
path: root/misc/rpm
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
commitb2677a2cb0d685822071dbac41558e75e1bc7c6a (patch)
tree407d1b0e35c4d11b94b087f1a9728177bdf14f06 /misc/rpm
parent8c1fa03cc0486b138e9285e732346648e11cbdc2 (diff)
downloadpkgsrc-b2677a2cb0d685822071dbac41558e75e1bc7c6a.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/rpm')
-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}"