diff options
author | wiz <wiz@pkgsrc.org> | 2002-12-22 17:30:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-12-22 17:30:09 +0000 |
commit | d1cf501b1d6badfa6da2e9e3ae9f14a4d2541496 (patch) | |
tree | 753ecb4f86e244afe52d5425d7eae575f56cf33a /devel/patch/Makefile | |
parent | 6652cd331450f25406723aae3895bfe3aa12ebb9 (diff) | |
download | pkgsrc-d1cf501b1d6badfa6da2e9e3ae9f14a4d2541496.tar.gz |
Use GNU_PROGRAM_PREFIX, patch by Jeremy C. Reed.
Diffstat (limited to 'devel/patch/Makefile')
-rw-r--r-- | devel/patch/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 3bd27b89ac3..db3920d6a58 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2002/03/24 19:47:28 seb Exp $ +# $NetBSD: Makefile,v 1.10 2002/12/22 17:30:09 wiz Exp $ # DISTNAME= patch-2.5.4 @@ -13,14 +13,11 @@ GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" -CONFIGURE_ARGS+= --program-prefix=g -PROGRAM_PREFIX= g -.else -PROGRAM_PREFIX= +.if ${OPSYS} == "NetBSD" && defined(GNU_PROGRAM_PREFIX) +CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX} .endif -PLIST_SUBST+= PROGRAM_PREFIX=${PROGRAM_PREFIX} +PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX} do-patch: ${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig |