pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/oaf add USE_GNU_TOOLS+=lex yacc, as this package...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a7f4e34a11c
branches:  trunk
changeset: 467577:8a7f4e34a11c
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Feb 03 09:03:57 2004 +0000

description:
add USE_GNU_TOOLS+=lex yacc, as this package requires flex and yacc
to build.

diffstat:

 devel/oaf/Makefile |  15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diffs (34 lines):

diff -r 3c74e0fc129a -r 8a7f4e34a11c devel/oaf/Makefile
--- a/devel/oaf/Makefile        Tue Feb 03 09:00:34 2004 +0000
+++ b/devel/oaf/Makefile        Tue Feb 03 09:03:57 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/01/03 18:49:39 reed Exp $
+# $NetBSD: Makefile,v 1.33 2004/02/03 09:03:57 grant Exp $
 #
 
 DISTNAME=              oaf-0.6.10
@@ -16,23 +16,12 @@
 GNU_CONFIGURE=         YES
 USE_X11BASE=           YES
 
+USE_GNU_TOOLS+=                lex yacc
 USE_LIBTOOL=           YES
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 
 CONFIGURE_ARGS+=       --enable-gtk-doc=no
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == SunOS || !exists(/usr/bin/flex)
-BUILD_DEPENDS+=                flex-[0-9]*:../../devel/flex
-LEX=                   ${LOCALBASE}/bin/flex
-.endif
-
-.if !exists(/usr/bin/yacc)
-BUILD_DEPENDS+=                bison-[0-9]*:../../devel/bison
-YACC=                  ${LOCALBASE}/bin/bison
-.endif
-
 .include "../../devel/popt/buildlink2.mk"
 .include "../../textproc/libxml/buildlink2.mk"
 .include "../../x11/gnome-libs/buildlink2.mk"



Home | Main Index | Thread Index | Old Index