diff options
author | wiz <wiz> | 2002-12-25 17:51:23 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-12-25 17:51:23 +0000 |
commit | 4316f1bb08f881b05a2afcf57700164d722aa536 (patch) | |
tree | c21be31f437196689661ad52e5e16c017695deef /sysutils/findutils | |
parent | 61241d16c301675938b836e8affafafdac3386c0 (diff) | |
download | pkgsrc-4316f1bb08f881b05a2afcf57700164d722aa536.tar.gz |
Honor GNU_PROGRAM_PREFIX. Patch by Jeremy C. Reed.
Diffstat (limited to 'sysutils/findutils')
-rw-r--r-- | sysutils/findutils/Makefile | 11 | ||||
-rw-r--r-- | sysutils/findutils/PLIST | 36 |
2 files changed, 27 insertions, 20 deletions
diff --git a/sysutils/findutils/Makefile b/sysutils/findutils/Makefile index 96e21895da4..dec19ec7285 100644 --- a/sysutils/findutils/Makefile +++ b/sysutils/findutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/11/29 08:05:31 tron Exp $ +# $NetBSD: Makefile,v 1.7 2002/12/25 17:56:46 wiz Exp $ DISTNAME= findutils-4.1 PKGREVISION= 2 @@ -11,10 +11,17 @@ COMMENT= The GNU find, xargs and locate utilities USE_BUILDLINK2= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --program-prefix=g INFO_FILES= find.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 "../../devel/gettext-lib/buildlink2.mk" .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/findutils/PLIST b/sysutils/findutils/PLIST index 668b8899dd1..6d5c69fcdd0 100644 --- a/sysutils/findutils/PLIST +++ b/sysutils/findutils/PLIST @@ -1,23 +1,23 @@ -@comment $NetBSD: PLIST,v 1.3 2002/10/22 11:35:40 wiz Exp $ -bin/gfind -bin/gxargs -bin/glocate -bin/gupdatedb -libexec/gfrcode -libexec/gcode -libexec/gbigram +@comment $NetBSD: PLIST,v 1.4 2002/12/25 17:56:46 wiz Exp $ +bin/${GNU_PROGRAM_PREFIX}find +bin/${GNU_PROGRAM_PREFIX}xargs +bin/${GNU_PROGRAM_PREFIX}locate +bin/${GNU_PROGRAM_PREFIX}updatedb +libexec/${GNU_PROGRAM_PREFIX}frcode +libexec/${GNU_PROGRAM_PREFIX}code +libexec/${GNU_PROGRAM_PREFIX}bigram @unexec ${INSTALL_INFO} --delete %D/info/find.info %D/info/dir info/find.info info/find.info-1 info/find.info-2 @exec ${INSTALL_INFO} %D/info/find.info %D/info/dir -man/cat1/gfind.0 -man/cat1/gxargs.0 -man/cat1/glocate.0 -man/cat1/gupdatedb.0 -man/cat5/glocatedb.0 -man/man1/gfind.1 -man/man1/gxargs.1 -man/man1/glocate.1 -man/man1/gupdatedb.1 -man/man5/glocatedb.5 +man/cat1/${GNU_PROGRAM_PREFIX}find.0 +man/cat1/${GNU_PROGRAM_PREFIX}xargs.0 +man/cat1/${GNU_PROGRAM_PREFIX}locate.0 +man/cat1/${GNU_PROGRAM_PREFIX}updatedb.0 +man/cat5/${GNU_PROGRAM_PREFIX}locatedb.0 +man/man1/${GNU_PROGRAM_PREFIX}find.1 +man/man1/${GNU_PROGRAM_PREFIX}xargs.1 +man/man1/${GNU_PROGRAM_PREFIX}locate.1 +man/man1/${GNU_PROGRAM_PREFIX}updatedb.1 +man/man5/${GNU_PROGRAM_PREFIX}locatedb.5 |