summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2013-04-02 20:14:31 +0000
committeragc <agc@pkgsrc.org>2013-04-02 20:14:31 +0000
commitc573d40c1d49a117e5a72c1128bc319629f8b8b9 (patch)
treea4b9c7dc89f24304c296e879c4fd29478c0f7134 /www/curl
parentfc52f3d3327269b574696ab004418ed386322747 (diff)
downloadpkgsrc-c573d40c1d49a117e5a72c1128bc319629f8b8b9.tar.gz
only use the libidn buildlink3.mk file if libidn has been one of the
options chosen.
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/buildlink3.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/curl/buildlink3.mk b/www/curl/buildlink3.mk
index 1631139f45c..42b862d77ba 100644
--- a/www/curl/buildlink3.mk
+++ b/www/curl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.28 2013/02/06 23:20:52 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.29 2013/04/02 20:14:31 agc Exp $
BUILDLINK_TREE+= curl
@@ -23,8 +23,10 @@ pkgbase:= curl
.if !empty(PKG_BUILD_OPTIONS.curl:Mrtmp)
. include "../../net/rtmpdump/buildlink3.mk"
.endif
+.if !empty(PKG_BUILD_OPTIONS.curl:Mlibidn)
+. include "../../devel/libidn/buildlink3.mk"
+.endif
-.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.endif # CURL_BUILDLINK3_MK