pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/562b7a2feff3
branches:  trunk
changeset: 469037:562b7a2feff3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 19 01:24:01 2004 +0000

description:
Convert to buildlink3.
While here, add zlib buildlink2.mk to buildlink2.mk file, since libcurl
depends on it.

diffstat:

 www/curl/Makefile      |   8 ++++----
 www/curl/buildlink2.mk |   3 ++-
 www/curl/buildlink3.mk |  25 +++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 5 deletions(-)

diffs (73 lines):

diff -r 52b586ea6027 -r 562b7a2feff3 www/curl/Makefile
--- a/www/curl/Makefile Thu Feb 19 01:20:27 2004 +0000
+++ b/www/curl/Makefile Thu Feb 19 01:24:01 2004 +0000
@@ -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 @@
 # 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 @@
                ${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 -r 52b586ea6027 -r 562b7a2feff3 www/curl/buildlink2.mk
--- a/www/curl/buildlink2.mk    Thu Feb 19 01:20:27 2004 +0000
+++ b/www/curl/buildlink2.mk    Thu Feb 19 01:24:01 2004 +0000
@@ -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_FILES.curl=  include/curl/*
 BUILDLINK_FILES.curl+= lib/libcurl.*
 
+.include "../../devel/zlib/buildlink2.mk"
 .include "../../security/openssl/buildlink2.mk"
 
 BUILDLINK_TARGETS+=    curl-buildlink
diff -r 52b586ea6027 -r 562b7a2feff3 www/curl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/curl/buildlink3.mk    Thu Feb 19 01:24:01 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index