diff options
author | joerg <joerg> | 2010-01-27 18:51:33 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 18:51:33 +0000 |
commit | cb71209c25a00a8e75ad5e3391f2f705a55bdb94 (patch) | |
tree | 0a46dac74c704b27536c76ea99cbad61446876a0 /sysutils/fixelfprot | |
parent | 08c65a1b757942fb0bbd10fefcc1d75d4d42cddc (diff) | |
download | pkgsrc-cb71209c25a00a8e75ad5e3391f2f705a55bdb94.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/fixelfprot')
-rw-r--r-- | sysutils/fixelfprot/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/fixelfprot/Makefile b/sysutils/fixelfprot/Makefile index ccbdf7b4a13..3a0e312d8f2 100644 --- a/sysutils/fixelfprot/Makefile +++ b/sysutils/fixelfprot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2009/04/09 00:48:16 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2010/01/27 18:53:59 joerg Exp $ DISTNAME= fixelfprot-20040714 CATEGORIES= sysutils @@ -9,9 +9,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mail-index.NetBSD.org/tech-kern/2004/07/11/0002.html COMMENT= C program to fix ELF protection on .got table for PowerPC -ONLY_FOR_PLATFORM= NetBSD-*-powerpc - PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +ONLY_FOR_PLATFORM= NetBSD-*-powerpc WRKSRC= ${WRKDIR} NO_CONFIGURE= yes @@ -25,6 +26,6 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} fixelfprot.c -o fixelfprot do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fixelfprot ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/fixelfprot ${DESTDIR}${PREFIX}/sbin .include "../../mk/bsd.pkg.mk" |