diff options
author | vd <vd@FreeBSD.org> | 2013-05-13 21:52:37 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2013-05-13 21:52:37 +0800 |
commit | f6e4ff429687d0da8668cdd7f05c748151cd90ff (patch) | |
tree | eb1202ff18680db9fb31f58b916460d35cb13384 | |
parent | a111d7613af1c835034cfa3ac7198d54f7eb0dca (diff) | |
download | freebsd-ports-gnome-f6e4ff429687d0da8668cdd7f05c748151cd90ff.tar.gz freebsd-ports-gnome-f6e4ff429687d0da8668cdd7f05c748151cd90ff.tar.zst freebsd-ports-gnome-f6e4ff429687d0da8668cdd7f05c748151cd90ff.zip |
ftp/wget: hook a dependency to devel/pcre
PR: ports/178285
Submitted by: pawel@
-rw-r--r-- | ftp/wget/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile index 44d61ed58261..01ae6496c636 100644 --- a/ftp/wget/Makefile +++ b/ftp/wget/Makefile @@ -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 |