summaryrefslogtreecommitdiff
path: root/math/bc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-05 22:24:50 +0000
committerjlam <jlam@pkgsrc.org>2006-04-05 22:24:50 +0000
commit117c7fff89cfb68a7c915ef9e2d83e1a96b67d96 (patch)
tree68b2c69232dfd1d5299fe5803e816c63dccdc3b9 /math/bc
parentbc998c9be31c5fa3004155b8cab60ca8983134a4 (diff)
downloadpkgsrc-117c7fff89cfb68a7c915ef9e2d83e1a96b67d96.tar.gz
USE_TOOLS+=flex instead of explicit BUILD_DEPENDS on the flex package.
Diffstat (limited to 'math/bc')
-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"