diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /devel/pcre | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'devel/pcre')
-rw-r--r-- | devel/pcre/Makefile | 6 | ||||
-rw-r--r-- | devel/pcre/buildlink2.mk | 21 |
2 files changed, 24 insertions, 3 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile index 6d35a097270..068223b2fff 100644 --- a/devel/pcre/Makefile +++ b/devel/pcre/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/11/30 10:20:01 martti Exp $ +# $NetBSD: Makefile,v 1.9 2002/08/25 18:38:42 jlam Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1998/07/12 22:59:19 steve Exp $ DISTNAME= pcre-3.7 @@ -12,10 +12,10 @@ MAINTAINER= proff@netbsd.org HOMEPAGE= http://www.pcre.org/ COMMENT= Perl Compatible Regular Expressions library -USE_BUILDLINK_ONLY= yes +USE_BUILDLINK2= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool .include "../../mk/bsd.pkg.mk" diff --git a/devel/pcre/buildlink2.mk b/devel/pcre/buildlink2.mk new file mode 100644 index 00000000000..57d6d056fb1 --- /dev/null +++ b/devel/pcre/buildlink2.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:43 jlam Exp $ + +.if !defined(PCRE_BUILDLINK2_MK) +PCRE_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= pcre +BUILDLINK_DEPENDS.pcre?= pcre>=3.4 +BUILDLINK_PKGSRCDIR.pcre?= ../../devel/pcre + +EVAL_PREFIX+= BUILDLINK_PREFIX.pcre=pcre +BUILDLINK_PREFIX.pcre_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.pcre= include/pcre.h +BUILDLINK_FILES.pcre+= include/pcreposix.h +BUILDLINK_FILES.pcre+= lib/libpcre.* +BUILDLINK_FILES.pcre+= lib/libpcreposix.* + +BUILDLINK_TARGETS+= pcre-buildlink + +pcre-buildlink: _BUILDLINK_USE + +.endif # PCRE_BUILDLINK2_MK |