summaryrefslogtreecommitdiff
path: root/devel/patch
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-12-22 17:34:43 +0000
committerwiz <wiz@pkgsrc.org>2002-12-22 17:34:43 +0000
commita1e71bb30ac35f62ffb436b98c9d9efd2e12eab3 (patch)
tree96f13b2f32282c9d328506873c56bd8d41352c30 /devel/patch
parentd1cf501b1d6badfa6da2e9e3ae9f14a4d2541496 (diff)
downloadpkgsrc-a1e71bb30ac35f62ffb436b98c9d9efd2e12eab3.tar.gz
Also add GNU_PROGRAM_PREFIX to BUILD_DEFS.
Diffstat (limited to 'devel/patch')
-rw-r--r--devel/patch/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile
index db3920d6a58..d4f128f258a 100644
--- a/devel/patch/Makefile
+++ b/devel/patch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/12/22 17:30:09 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2002/12/22 17:34:43 wiz Exp $
#
DISTNAME= patch-2.5.4
@@ -16,8 +16,8 @@ GNU_CONFIGURE= yes
.if ${OPSYS} == "NetBSD" && 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
do-patch:
${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig