[55468] trunk/dports/net/libpcap
toby at macports.org
toby at macports.org
Tue Aug 11 10:05:54 PDT 2009
Revision: 55468
http://trac.macports.org/changeset/55468
Author: toby at macports.org
Date: 2009-08-11 10:05:51 -0700 (Tue, 11 Aug 2009)
Log Message:
-----------
#17871 (libpcap: Added universal variant)
Modified Paths:
--------------
trunk/dports/net/libpcap/Portfile
Added Paths:
-----------
trunk/dports/net/libpcap/files/patch-Makefile.in
Modified: trunk/dports/net/libpcap/Portfile
===================================================================
--- trunk/dports/net/libpcap/Portfile 2009-08-11 16:59:18 UTC (rev 55467)
+++ trunk/dports/net/libpcap/Portfile 2009-08-11 17:05:51 UTC (rev 55468)
@@ -21,14 +21,12 @@
configure.args --enable-ipv6
-patchfiles patch-scanner.l.diff
+patchfiles patch-scanner.l.diff patch-Makefile.in
use_parallel_build yes
build.target-append shared
destroot.target-append install-shared
-universal_variant no
-
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# vi: set fenc=utf-8 filetype=tcl et sw=4 ts=4 sts=4: #
Added: trunk/dports/net/libpcap/files/patch-Makefile.in
===================================================================
--- trunk/dports/net/libpcap/files/patch-Makefile.in (rev 0)
+++ trunk/dports/net/libpcap/files/patch-Makefile.in 2009-08-11 17:05:51 UTC (rev 55468)
@@ -0,0 +1,19 @@
+--- Makefile.in.orig 2009-08-11 10:03:06.000000000 -0700
++++ Makefile.in 2009-08-11 10:03:52.000000000 -0700
+@@ -52,6 +52,7 @@
+ DAGLIBS = @DAGLIBS@
+ DEPLIBS = @DEPLIBS@
+ DYEXT = @DYEXT@
++LDFLAGS = @LDFLAGS@
+ PROG=libpcap
+
+ # Standard CFLAGS
+@@ -339,7 +340,7 @@
+ #
+ libpcap.dylib: $(OBJ)
+ rm -f libpcap*.dylib
+- $(CC) -dynamiclib -undefined error -o libpcap.`cat $(srcdir)/VERSION`.dylib $(OBJ) \
++ $(CC) $(LDFLAGS) -dynamiclib -undefined error -o libpcap.`cat $(srcdir)/VERSION`.dylib $(OBJ) \
+ -install_name $(libdir)/libpcap.A.dylib \
+ -compatibility_version 1 \
+ -current_version `sed 's/[^0-9.].*$$//' $(srcdir)/VERSION`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090811/fae682f8/attachment.html>
More information about the macports-changes
mailing list