[27573] trunk/dports/net/libpcap/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 8 11:50:09 PDT 2007


Revision: 27573
          http://trac.macosforge.org/projects/macports/changeset/27573
Author:   ricci at macports.org
Date:     2007-08-08 11:50:09 -0700 (Wed, 08 Aug 2007)

Log Message:
-----------
Patch from jmpp@ - use macports master_site and bring the cflags stuff up to date with modern reality

Modified Paths:
--------------
    trunk/dports/net/libpcap/Portfile

Modified: trunk/dports/net/libpcap/Portfile
===================================================================
--- trunk/dports/net/libpcap/Portfile	2007-08-08 18:46:19 UTC (rev 27572)
+++ trunk/dports/net/libpcap/Portfile	2007-08-08 18:50:09 UTC (rev 27573)
@@ -12,12 +12,14 @@
 	for  other  hosts,  are  accessible through this mechanism.
 homepage	http://www.tcpdump.org/
 platforms	darwin
-master_sites	${homepage}release/
+master_sites	macports \
+		${homepage}release/
 checksums	md5 b0626ad59004fe5767ddd2ce743a2271 \
 		sha1 3a3b0821f7201b4a72201c69ca2411a3db8a83c3
 
 configure.args	--mandir=${prefix}/share/man
-configure.env	CFLAGS="-I. -dynamic -fno-common -DHAVE_CONFIG_H"
+# configure.env	CFLAGS="-I. -dynamic -fno-common -DHAVE_CONFIG_H"
+configure.cflags-append	-I. -dynamic -fno-common -DHAVE_CONFIG_H
 patchfiles	patch-Makefile.in \
 		patch-inet.c
 
@@ -31,7 +33,8 @@
 }
 
 variant no_shared {
-	configure.env-delete	CFLAGS="-I. -dynamic -fno-common -DHAVE_CONFIG_H"
+	# configure.env-delete	CFLAGS="-I. -dynamic -fno-common -DHAVE_CONFIG_H"
+	configure.cflags-delete	-I. -dynamic -fno-common -DHAVE_CONFIG_H
 	patchfiles-delete	patch-Makefile.in
 	pre-configure	{
 		reinplace "s/COMPAT_INFO/-compatibility_version $version -current_version $version/" \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070808/22246742/attachment.html


More information about the macports-changes mailing list