summaryrefslogtreecommitdiff
path: root/archivers/gcpio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/gcpio/Makefile')
-rw-r--r--archivers/gcpio/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile
index 2914f4857ef..082981afbd1 100644
--- a/archivers/gcpio/Makefile
+++ b/archivers/gcpio/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2002/08/25 21:49:04 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2003/03/16 00:17:23 wiz Exp $
#
DISTNAME= cpio-2.4.2
PKGNAME= gcpio-2.4.2
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=cpio/}
@@ -16,5 +17,13 @@ LIBS+= -lgnumalloc
INFO_FILES= cpio.info
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(GNU_PROGRAM_PREFIX)
+CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX}
+.endif
+PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
+BUILD_DEFS+= GNU_PROGRAM_PREFIX
+
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"