summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-31 17:48:07 +0000
committerwiz <wiz>2002-07-31 17:48:07 +0000
commit567d5f158487efd24108acdb03e8780dc2112193 (patch)
treeb936dfd4578d20ae40b588887b6f0d7dfc3be6c2 /devel
parenta4b647e678a580be3fb419dc15e1a422fa7e8ddb (diff)
downloadpkgsrc-567d5f158487efd24108acdb03e8780dc2112193.tar.gz
On Solaris, add BUILD_DEPENDS for bison and flex, based on the patch
submitted by Lubomir Sedlacik in connection with pkg/17785.
Diffstat (limited to 'devel')
-rw-r--r--devel/oaf/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile
index 8443350a8b4..81ab9f9d404 100644
--- a/devel/oaf/Makefile
+++ b/devel/oaf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2002/05/18 10:54:16 mjl Exp $
+# $NetBSD: Makefile,v 1.18 2002/07/31 17:48:07 wiz Exp $
#
DISTNAME= oaf-0.6.10
@@ -17,6 +17,13 @@ USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
+.endif
+
.include "../../devel/popt/buildlink.mk"
.include "../../textproc/libxml/buildlink.mk"
.include "../../x11/gnome-libs/buildlink.mk"