summaryrefslogtreecommitdiff
path: root/sysutils/fixelfprot
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 18:51:33 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 18:51:33 +0000
commitce9dcc0332f1011f95a8bec2f6dbd352e37cc18f (patch)
tree0a46dac74c704b27536c76ea99cbad61446876a0 /sysutils/fixelfprot
parented85191ea58bb1d9845150bd338cd32b250eacc3 (diff)
downloadpkgsrc-ce9dcc0332f1011f95a8bec2f6dbd352e37cc18f.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/fixelfprot')
-rw-r--r--sysutils/fixelfprot/Makefile9
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"