pkgsrc/www/libwww/Makefile
fredb 9700cf931e 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.]
2002-07-15 14:39:21 +00:00

40 lines
1 KiB
Makefile

# $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= 2
CATEGORIES= www devel
MASTER_SITES= http://www.w3.org/Library/Distribution/ \
ftp://ftp.uni-hannover.de/pub/mirror/info-systems/WWW/libwww/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.w3.org/Library/
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
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --with-regex --without-x
CONFIGURE_ARGS+= --with-ssl="${BUILDLINK_DIR}"
DOCDIR= ${PREFIX}/share/doc/libwww
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
CFLAGS+= ${LDFLAGS}
pre-configure:
cd ${WRKSRC}; \
${LOCALBASE}/bin/aclocal && \
${LOCALBASE}/bin/automake && \
${LOCALBASE}/bin/autoconf
.include "../../devel/zlib/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"