diff options
author | wiz <wiz@pkgsrc.org> | 2004-02-19 01:24:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-02-19 01:24:01 +0000 |
commit | 717fc8286ded1cd41f5660287e417842e73f8e5e (patch) | |
tree | ab1a76471a58938f522ee5a1863987eccb49c902 | |
parent | 7238d3685d17d17a39dc7f79db62cd6a607602f5 (diff) | |
download | pkgsrc-717fc8286ded1cd41f5660287e417842e73f8e5e.tar.gz |
Convert to buildlink3.
While here, add zlib buildlink2.mk to buildlink2.mk file, since libcurl
depends on it.
-rw-r--r-- | www/curl/Makefile | 8 | ||||
-rw-r--r-- | www/curl/buildlink2.mk | 3 | ||||
-rw-r--r-- | www/curl/buildlink3.mk | 25 |
3 files changed, 31 insertions, 5 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile index 74bae0af290..62adbe60ea0 100644 --- a/www/curl/Makefile +++ b/www/curl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2004/02/14 17:21:54 jlam Exp $ +# $NetBSD: Makefile,v 1.36 2004/02/19 01:24:01 wiz Exp $ DISTNAME= curl-7.11.0 CATEGORIES= www @@ -13,7 +13,7 @@ COMMENT= Client that groks URLs # list it into IPv6-ready packages BUILD_DEFS+= USE_INET6 -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} @@ -38,6 +38,6 @@ post-install: ${INSTALL_DATA} $${_f} ${PREFIX}/share/examples/curl; \ done -.include "../../devel/zlib/buildlink2.mk" -.include "../../security/openssl/buildlink2.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/curl/buildlink2.mk b/www/curl/buildlink2.mk index 751ff0cf1b0..e275c54aa62 100644 --- a/www/curl/buildlink2.mk +++ b/www/curl/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/09/05 20:48:17 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2004/02/19 01:24:01 wiz Exp $ .if !defined(CURL_BUILDLINK2_MK) CURL_BUILDLINK2_MK= # defined @@ -12,6 +12,7 @@ BUILDLINK_PREFIX.curl_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.curl= include/curl/* BUILDLINK_FILES.curl+= lib/libcurl.* +.include "../../devel/zlib/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" BUILDLINK_TARGETS+= curl-buildlink diff --git a/www/curl/buildlink3.mk b/www/curl/buildlink3.mk new file mode 100644 index 00000000000..924cf88f1c5 --- /dev/null +++ b/www/curl/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 01:24:01 wiz Exp $ +# +# This Makefile fragment is included by packages that use curl. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CURL_BUILDLINK3_MK:= ${CURL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= curl +.endif + +.if !empty(CURL_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= curl +BUILDLINK_DEPENDS.curl+= curl>=7.9.1 +BUILDLINK_PKGSRCDIR.curl?= ../../www/curl + +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +.endif # CURL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |