summaryrefslogtreecommitdiff
path: root/emulators/suse_linux
diff options
context:
space:
mode:
authortron <tron>2002-04-07 13:10:16 +0000
committertron <tron>2002-04-07 13:10:16 +0000
commit334a6f42202b254e461e832169d641d21531c8c0 (patch)
tree7ba7b6265beff750384f74031459669a93b612be /emulators/suse_linux
parent6e8194273bd803bf946133b2032c2caf58591b6b (diff)
downloadpkgsrc-334a6f42202b254e461e832169d641d21531c8c0.tar.gz
Record "RPMFILES" and "RPMIGNOREPATH" during installation. This is useful
for e.g. the "suse_x11" package where the content differs depending on the installed XFree86 version.
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r--emulators/suse_linux/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common
index ba84ab55311..a7f58c02d2a 100644
--- a/emulators/suse_linux/Makefile.common
+++ b/emulators/suse_linux/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2002/04/04 09:47:07 tron Exp $
+# $NetBSD: Makefile.common,v 1.8 2002/04/07 13:10:16 tron Exp $
SUSE_VERSION= 7.3
@@ -18,6 +18,11 @@ EMULDIR= ${PREFIX}/${EMULSUBDIR}
RPM2PKG= ${PREFIX}/sbin/rpm2pkg
BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg
+BUILD_DEFS+= RPMFILES
+.if defined(RPMIGNOREPATH)
+BUILD_DEFS+= RPMIGNOREPATH
+.endif
+
# The SuSE Linux packages have circular dependencies.
LDD?= ${TRUE}