pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/bc USE_TOOLS+=flex instead of explicit BUILD_DEPE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d337f731898
branches:  trunk
changeset: 510873:3d337f731898
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Apr 05 22:24:50 2006 +0000

description:
USE_TOOLS+=flex instead of explicit BUILD_DEPENDS on the flex package.

diffstat:

 math/bc/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r 37ae54f1de64 -r 3d337f731898 math/bc/Makefile
--- a/math/bc/Makefile  Wed Apr 05 22:22:16 2006 +0000
+++ b/math/bc/Makefile  Wed Apr 05 22:24:50 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index