summaryrefslogtreecommitdiff
path: root/emulators/darwin_lib
diff options
context:
space:
mode:
authorobache <obache>2011-03-03 13:06:49 +0000
committerobache <obache>2011-03-03 13:06:49 +0000
commita6f58609d33f7805eafeec620823674d7fe5c174 (patch)
treeaef84dc65d83f471846ad557ab7df3037f29f98f /emulators/darwin_lib
parent179a242a614e2d4b996af65c9482ef2f8601b874 (diff)
downloadpkgsrc-a6f58609d33f7805eafeec620823674d7fe5c174.tar.gz
Add destdir installation support.
XXX: xload and xterm have suid root
Diffstat (limited to 'emulators/darwin_lib')
-rw-r--r--emulators/darwin_lib/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/darwin_lib/Makefile b/emulators/darwin_lib/Makefile
index 8f0448ee35e..5f5546bb3f1 100644
--- a/emulators/darwin_lib/Makefile
+++ b/emulators/darwin_lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2010/02/25 15:05:31 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2011/03/03 13:06:49 obache Exp $
DISTNAME= darwin_lib-6.6.2
PKGREVISION= 2
@@ -25,13 +25,15 @@ EMUL_PLATFORMS= darwin-i386 darwin-powerpc
ONLY_FOR_PLATFORM= NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386 \
NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386
+PKG_DESTDIR_SUPPORT= destdir
+
DARWIN_PKG= yes
DARWIN_ARCH= ${MACHINE_ARCH:C/powerpc/ppc/:C/x86_64/i386/}
WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
EMUL_PKG_FMT= rpm
-RPM2PKG_PREFIX= ${PREFIX}
+RPM2PKG_PREFIX= ${DESTDIR}${PREFIX}
RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
RPM2PKG_STAGE= do-install
RPMIGNOREPATH= ./Developer ./usr/X11R6/lib/X11/doc/html \