summaryrefslogtreecommitdiff
path: root/www/libwww/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2002-07-15 14:39:21 +0000
committerfredb <fredb>2002-07-15 14:39:21 +0000
commitf618a16a2771c559c7b992d2c47558e7870b1f6d (patch)
treecf8cc64f4f94600466802ed105d41bd2e99807f8 /www/libwww/Makefile
parent8153acbc7b38a8e34bce18a9729612a1330e4e7b (diff)
downloadpkgsrc-f618a16a2771c559c7b992d2c47558e7870b1f6d.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/Makefile21
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"