summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-17 02:47:58 +0000
committerdholland <dholland@pkgsrc.org>2012-06-17 02:47:58 +0000
commit1b1c98f23e55f9dde416871e1ca0a24828dabeda (patch)
treeb895fe1bafc1e6e650f12bce8f553090184a1291 /wm
parent3853c6e038a2627155da77504c2df5a2fe801eb4 (diff)
downloadpkgsrc-1b1c98f23e55f9dde416871e1ca0a24828dabeda.tar.gz
Adding yacc to TOOLS broke the NetBSD build because the yacc configure
test is thoroughly messed up. Work around the problem by forcing it to run yacc from $PATH.
Diffstat (limited to 'wm')
-rw-r--r--wm/twm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/wm/twm/Makefile b/wm/twm/Makefile
index 0b868ebbc44..2631b1abbb8 100644
--- a/wm/twm/Makefile
+++ b/wm/twm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/06/14 08:31:00 dholland Exp $
+# $NetBSD: Makefile,v 1.6 2012/06/17 02:47:58 dholland Exp $
DISTNAME= twm-1.0.7
CATEGORIES= x11 wm
@@ -14,6 +14,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config yacc
+# Work around borked configure test in 1.0.7
+CONFIGURE_ENV+= ac_cv_prog_YACC=yacc
+
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"