Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 13:52:37 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318083 - head/ftp/wget
Message-ID:  <201305131352.r4DDqbnk034571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305131352.r4DDqbnk034571>