svn commit: r318083 - head/ftp/wget
Vasil Dimov
vd at FreeBSD.org
Mon May 13 13:52:37 UTC 2013
Author: vd
Date: Mon May 13 13:52:37 2013
New Revision: 318083
URL: http://svnweb.freebsd.org/changeset/ports/318083
Log:
ftp/wget: hook a dependency to devel/pcre
PR: ports/178285
Submitted by: pawel@
Modified:
head/ftp/wget/Makefile
Modified: head/ftp/wget/Makefile
==============================================================================
--- head/ftp/wget/Makefile Mon May 13 13:51:49 2013 (r318082)
+++ head/ftp/wget/Makefile Mon May 13 13:52:37 2013 (r318083)
@@ -3,6 +3,7 @@
PORTNAME= wget
DISTVERSION= 1.14
+PORTREVISION= 1
CATEGORIES= ftp www ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= wget
@@ -17,6 +18,16 @@ USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
+# Wget can handle the absence of pcre, but we hook an unconditional dependency
+# to pcre because if it is present in the system during compile time, then
+# wget will pick it and link with it. Thus the wget executable will later
+# depend on the presence of the pcre library. Wget does not support to
+# explicitly ignore the pcre library if it is present in the system and there
+# is no elegant way to do that.
+LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL=GNUTLS OPENSSL
OPTIONS_DEFINE= IPV6 NLS IDN
More information about the svn-ports-all
mailing list