summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/fastfs/Makefile6
-rw-r--r--sysutils/fixelfprot/Makefile9
2 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/fastfs/Makefile b/sysutils/fastfs/Makefile
index 8b3ac767508..2107c65ceb4 100644
--- a/sysutils/fastfs/Makefile
+++ b/sysutils/fastfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/04 21:30:41 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2010/01/27 18:51:33 joerg Exp $
#
DISTNAME= fastfs.c
@@ -10,6 +10,8 @@ EXTRACT_SUFX= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Turn on/off delayed IO on a file system
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= SunOS-*-*
WRKSRC= ${WRKDIR}/fastfs
@@ -24,6 +26,6 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastfs ${DESTDIR}${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"
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"