diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:51:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:51:33 +0000 |
commit | ce9dcc0332f1011f95a8bec2f6dbd352e37cc18f (patch) | |
tree | 0a46dac74c704b27536c76ea99cbad61446876a0 /sysutils/fixelfprot | |
parent | ed85191ea58bb1d9845150bd338cd32b250eacc3 (diff) | |
download | pkgsrc-ce9dcc0332f1011f95a8bec2f6dbd352e37cc18f.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" |