summaryrefslogtreecommitdiff
path: root/devel/oaf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-31 17:48:07 +0000
committerwiz <wiz@pkgsrc.org>2002-07-31 17:48:07 +0000
commit146c7b6f8860773ff18d5b542f76fb7faedb092e (patch)
treeb936dfd4578d20ae40b588887b6f0d7dfc3be6c2 /devel/oaf
parent90bba6c1d197caba5491f62fcc5ff855513ef6cc (diff)
downloadpkgsrc-146c7b6f8860773ff18d5b542f76fb7faedb092e.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/oaf')
-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"