summaryrefslogtreecommitdiff
path: root/emulators/suse100_linux
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-06-05 11:20:27 +0000
committerabs <abs@pkgsrc.org>2009-06-05 11:20:27 +0000
commitd5c2460b51838159da038a3c182aec70ad544f3b (patch)
tree33001d86b1aa9d11efd50789514940ff2bb3c2e7 /emulators/suse100_linux
parent05e0006d5c915760c5fb7a7d8233f4722eea1c1a (diff)
downloadpkgsrc-d5c2460b51838159da038a3c182aec70ad544f3b.tar.gz
Enable PKG_DESTDIR_SUPPORT for suse100_*
Diffstat (limited to 'emulators/suse100_linux')
-rw-r--r--emulators/suse100_linux/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/suse100_linux/Makefile.common b/emulators/suse100_linux/Makefile.common
index 23fdaa23bf8..da88fe8e0ae 100644
--- a/emulators/suse100_linux/Makefile.common
+++ b/emulators/suse100_linux/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.20 2008/09/04 11:53:48 obache Exp $
+# $NetBSD: Makefile.common,v 1.21 2009/06/05 11:20:27 abs Exp $
SUSE_PKG= yes
SUSE_VERSION= 10.0
@@ -19,6 +19,8 @@ ONLY_FOR_PLATFORM+= NetBSD-3.99*-x86_64
ONLY_FOR_PLATFORM+= NetBSD-[4-9]*-x86_64
.endif
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
# _SUSE_ARCH.* is a table of ${EMUL_ARCH} to SuSE architectures.
@@ -81,7 +83,7 @@ BUILD_DIRS?= # empty
MANCOMPRESSED?= yes
EMUL_PKG_FMT?= rpm
-RPM2PKG_PREFIX?= ${PREFIX}
+RPM2PKG_PREFIX?= ${DESTDIR}${PREFIX}
RPM2PKG_SUBPREFIX?= ${EMULSUBDIR}
RPM2PKG_STAGE?= do-install