diff options
-rw-r--r-- | www/libwww/buildlink3.mk | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/www/libwww/buildlink3.mk b/www/libwww/buildlink3.mk index 770beecf327..8a892af8a92 100644 --- a/www/libwww/buildlink3.mk +++ b/www/libwww/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:12 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.11 2006/09/24 17:40:39 joerg Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBWWW_BUILDLINK3_MK:= ${LIBWWW_BUILDLINK3_MK}+ @@ -17,6 +17,24 @@ BUILDLINK_ABI_DEPENDS.libwww+= libwww>=5.4.0nb5 BUILDLINK_PKGSRCDIR.libwww?= ../../www/libwww .endif # LIBWWW_BUILDLINK3_MK +.include "../../mk/bsd.prefs.mk" + +.if !defined(PKG_BUILD_OPTIONS.libwww) +PKG_BUILD_OPTIONS.libwww!= \ + cd ${BUILDLINK_PKGSRCDIR.libwww} && \ + ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS +MAKEFLAGS+= PKG_BUILD_OPTIONS.libwww=${PKG_BUILD_OPTIONS.libwww:Q} +.endif +MAKEVARS+= PKG_BUILD_OPTIONS.libwww + +.if !empty(PKG_BUILD_OPTIONS.libwww:Msocks4) +.include "../../net/socks4/buildlink3.mk" +.endif + +.if !empty(PKG_BUILD_OPTIONS.libwww:Msocks5) +.include "../../net/socks5/buildlink3.mk" +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |