summaryrefslogtreecommitdiff
path: root/math/bc/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2006-04-05 22:24:50 +0000
committerjlam <jlam>2006-04-05 22:24:50 +0000
commit68ad527fe5794b16fad5c6d39b9afafcf9121b6a (patch)
tree68b2c69232dfd1d5299fe5803e816c63dccdc3b9 /math/bc/Makefile
parente1923c14eaed93c75d53611d6c9751bd2dd74379 (diff)
downloadpkgsrc-68ad527fe5794b16fad5c6d39b9afafcf9121b6a.tar.gz
USE_TOOLS+=flex instead of explicit BUILD_DEPENDS on the flex package.
Diffstat (limited to 'math/bc/Makefile')
-rw-r--r--math/bc/Makefile9
1 files changed, 2 insertions, 7 deletions
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"