summaryrefslogtreecommitdiff
path: root/textproc
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 /textproc
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 '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"