diff options
author | fredb <fredb@pkgsrc.org> | 2002-07-15 14:39:21 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-07-15 14:39:21 +0000 |
commit | 9700cf931e28d4b884cd5d303e2f3b403094f9e6 (patch) | |
tree | cf8cc64f4f94600466802ed105d41bd2e99807f8 /www/libwww/Makefile | |
parent | 42dbc9b256e942045fddae9b13a0c1e7aab10ac5 (diff) | |
download | pkgsrc-9700cf931e28d4b884cd5d303e2f3b403094f9e6.tar.gz |
Remove the capability to link with static "socks":
1) Linking a shared library against a static "socks{4,5}" library
does not have the desired effect of eliminating the dependency on
"socks" (not as it does for binaries).
2) No package linked against "libwww" seems to actually utilize
"socks".
Also bump the PKGREVISION and buildlink DEPENDS to the current level,
and liberalize the (formal) dependency on "openssl", for the benefit
of pre-NetBSD-1.5 systems. From now on, we can have no more issues
with "openssl" or "socks{4,5}" versions, as only the libwwwssl.*
shared libraries carry a run-time dependency on "openssl", but no
package links against them, and no "libwww" shared libraries can carry
a run-time dependency on any "socks" libraries. [Previous versions, of
course, may have had issues -- see PR 17010, which this is a partial
fix for.]
Diffstat (limited to 'www/libwww/Makefile')
-rw-r--r-- | www/libwww/Makefile | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile index bbf2e928a55..78d1314b6d3 100644 --- a/www/libwww/Makefile +++ b/www/libwww/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2002/06/17 10:33:53 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2002/07/15 14:39:21 fredb Exp $ DISTNAME= w3c-libwww-5.3.2 PKGNAME= libwww-5.3.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www devel MASTER_SITES= http://www.w3.org/Library/Distribution/ \ ftp://ftp.uni-hannover.de/pub/mirror/info-systems/WWW/libwww/ @@ -14,6 +14,8 @@ COMMENT= The W3C Reference Library BUILD_DEPENDS+= automake>=1.4:../../devel/automake BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 +BUILDLINK_DEPENDS.openssl= openssl-* + USE_BUILDLINK_ONLY= YES USE_GMAKE= YES USE_LIBTOOL= YES @@ -33,21 +35,6 @@ pre-configure: ${LOCALBASE}/bin/automake && \ ${LOCALBASE}/bin/autoconf -.include "../../mk/bsd.prefs.mk" - -# Include SOCKS firewall support -.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) -.if ${USE_SOCKS} == 4 -.include "../../net/socks4/buildlink.mk" -CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_DIR}/lib/libsocks4.a -CONFIGURE_ARGS+= --with-socks5=no -.else -.include "../../net/socks5/buildlink.mk" -CONFIGURE_ARGS+= --with-socks4=no -CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_DIR}/lib/libsocks5.a -.endif -.endif - .include "../../devel/zlib/buildlink.mk" .include "../../security/openssl/buildlink.mk" .include "../../mk/bsd.pkg.mk" |