summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-22 20:28:47 +0000
committerjlam <jlam@pkgsrc.org>2005-05-22 20:28:47 +0000
commit0d726abfaa4f189a515e45626dc3920ad80b64b0 (patch)
tree241d2823c401d78f7a7f1c2fef687b213864c459 /textproc
parentcf75d3457ab1e7b663c132061abb304c4e559456 (diff)
downloadpkgsrc-0d726abfaa4f189a515e45626dc3920ad80b64b0.tar.gz
Replace explicit build dependencies on bison and manipulations on the
YACC variable with USE_TOOLS+=bison.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libpathan/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/libpathan/Makefile b/textproc/libpathan/Makefile
index 7397d884e1c..93f9bd3bf06 100644
--- a/textproc/libpathan/Makefile
+++ b/textproc/libpathan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/05/22 20:08:35 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2005/05/22 20:28:47 jlam Exp $
DISTNAME= libpathan-1.2-2-src
PKGNAME= ${DISTNAME:S/-2-src/.2/}
@@ -10,19 +10,17 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://software.decisionsoft.com/
COMMENT= Library to parse and evaluate XPath expressions
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME:S/-2-src//}
GNU_CONFIGURE= YES
-USE_TOOLS+= gmake
+USE_TOOLS+= bison gmake
USE_LIBTOOL= YES
USE_PERL5= build
USE_LANGUAGES= c++
CONFIGURE_ARGS+= XERCESCROOT=${LOCALBASE}
-CONFIGURE_ARGS+= YACC=${LOCALBASE}/bin/bison
+CONFIGURE_ARGS+= YACC=${TOOLS_YACC:Q}
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"