summaryrefslogtreecommitdiff
path: root/devel/patch
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-05-19 01:27:03 +0000
committerjschauma <jschauma@pkgsrc.org>2004-05-19 01:27:03 +0000
commit7384d31eb19a14b999c4003aede703a11b55209f (patch)
tree704df9e1579dfac9a78544c46b6cc4734f4de8ec /devel/patch
parent00cc25d2c4768f0f50f09bc6d00b3b37411bfcc3 (diff)
downloadpkgsrc-7384d31eb19a14b999c4003aede703a11b55209f.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