summaryrefslogtreecommitdiff
path: root/devel/patch
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-05-19 01:27:03 +0000
committerjschauma <jschauma>2004-05-19 01:27:03 +0000
commit5d8a242f3ad6ae501df10f49a9b8a02e43bd0dac (patch)
tree704df9e1579dfac9a78544c46b6cc4734f4de8ec /devel/patch
parentc96ddeff314ef234d51cba341b39ec2c01af178c (diff)
downloadpkgsrc-5d8a242f3ad6ae501df10f49a9b8a02e43bd0dac.tar.gz
We have a variable _OPSYS_GPATCH_REQD, but it doesn't do anything.
Change that: if it's set to YES, require devel/patch. If building devel/patch, set _OPSYS_GPATCH_REQD to NO, as otherwise we have a circular dependency.
Diffstat (limited to 'devel/patch')
-rw-r--r--devel/patch/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile
index 1dacc0cf27b..e23d98440f2 100644
--- a/devel/patch/Makefile
+++ b/devel/patch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/05/18 11:58:05 recht Exp $
+# $NetBSD: Makefile,v 1.20 2004/05/19 01:27:03 jschauma Exp $
#
DISTNAME= patch-2.5.4
@@ -16,6 +16,10 @@ GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
+# This is the package that provides gpatch! So don't create a
+# circular dependency.
+_OPSYS_GPATCH_REQD= NO
+
.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX}
.endif