summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-22 20:28:47 +0000
committerjlam <jlam>2005-05-22 20:28:47 +0000
commit2ddbb8afaecc884b415390bb8b7a524e329f125f (patch)
tree241d2823c401d78f7a7f1c2fef687b213864c459 /devel
parentc25a2f8043e1d06b71df110f50dc25cac286d4ad (diff)
downloadpkgsrc-2ddbb8afaecc884b415390bb8b7a524e329f125f.tar.gz
Replace explicit build dependencies on bison and manipulations on the
YACC variable with USE_TOOLS+=bison.
Diffstat (limited to 'devel')
-rw-r--r--devel/hdf/Makefile6
-rw-r--r--devel/sdcc/Makefile7
2 files changed, 4 insertions, 9 deletions
diff --git a/devel/hdf/Makefile b/devel/hdf/Makefile
index dc9e1de0e0b..80767fefb11 100644
--- a/devel/hdf/Makefile
+++ b/devel/hdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/05/22 20:07:52 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2005/05/22 20:28:47 jlam Exp $
DISTNAME= HDF4.2r1
PKGNAME= hdf-4.2r1
@@ -9,9 +9,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html
COMMENT= NCSA Hierarchical Data Format
-#BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-#YACC= ${PREFIX}/bin/bison
-
+#USE_TOOLS+= bison
USE_TOOLS+= gmake
USE_LANGUAGES= c fortran
GNU_CONFIGURE= yes
diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile
index 3c53638a1e3..e71004410af 100644
--- a/devel/sdcc/Makefile
+++ b/devel/sdcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2005/05/22 20:07:55 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2005/05/22 20:28:47 jlam Exp $
DISTNAME= sdcc-2.4.0
PKGNAME= ${DISTNAME:S/-src//}
@@ -10,13 +10,10 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sdcc.sourceforge.net/
COMMENT= Cross compile 8051 code
-#
# XXX - This HACK circumvent a problem with the use of yacc that breaks the
# XXX - building process of sdcc. Use of bison fixes this problem for now.
#
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-
-YACC= bison
+USE_TOOLS+= bison
BUILD_TARGET= dep all