From 68ad527fe5794b16fad5c6d39b9afafcf9121b6a Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 5 Apr 2006 22:24:50 +0000 Subject: USE_TOOLS+=flex instead of explicit BUILD_DEPENDS on the flex package. --- math/bc/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'math') diff --git a/math/bc/Makefile b/math/bc/Makefile index 93b49b3de4f..58bfe7668b2 100644 --- a/math/bc/Makefile +++ b/math/bc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/04/11 21:46:28 tv Exp $ +# $NetBSD: Makefile,v 1.6 2006/04/05 22:24:50 jlam Exp $ DISTNAME= bc-1.06 PKGREVISION= 1 @@ -9,15 +9,10 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.gnu.org/software/bc/bc.html COMMENT= Arbitrary precision calculator language +USE_TOOLS+= flex GNU_CONFIGURE= YES INFO_FILES= bc.info dc.info -.include "../../mk/bsd.prefs.mk" - -.if !exists(/usr/bin/flex) -BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex -.endif - .include "../../devel/ncurses/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3