diff -Naur libpcap.orig/Portfile libpcap/Portfile
old
|
new
|
|
28 | 28 | |
29 | 29 | destroot.target-append install-shared |
30 | 30 | |
31 | | universal_variant no |
| 31 | if {[variant_isset universal]} { |
| 32 | patchfiles-append patch-Makefile.in.diff |
| 33 | } |
32 | 34 | |
33 | 35 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
34 | 36 | # vi: set fenc=utf-8 filetype=tcl et sw=4 ts=4 sts=4: # |
diff -Naur libpcap.orig/files/patch-Makefile.in.diff libpcap/files/patch-Makefile.in.diff
old
|
new
|
|
| 1 | --- Makefile.in.orig 2008-10-28 02:26:13.000000000 +0100 |
| 2 | +++ Makefile.in 2009-01-04 12:16:39.000000000 +0100 |
| 3 | @@ -52,6 +52,7 @@ |
| 4 | DAGLIBS = @DAGLIBS@ |
| 5 | DEPLIBS = @DEPLIBS@ |
| 6 | DYEXT = @DYEXT@ |
| 7 | +LDFLAGS = @LDFLAGS@ |
| 8 | PROG=libpcap |
| 9 | |
| 10 | # Standard CFLAGS |
| 11 | @@ -339,7 +340,7 @@ |
| 12 | # |
| 13 | libpcap.dylib: $(OBJ) |
| 14 | rm -f libpcap*.dylib |
| 15 | - $(CC) -dynamiclib -undefined error -o libpcap.`cat $(srcdir)/VERSION`.dylib $(OBJ) \ |
| 16 | + $(CC) $(LDFLAGS) -dynamiclib -undefined error -o libpcap.`cat $(srcdir)/VERSION`.dylib $(OBJ) \ |
| 17 | -install_name $(libdir)/libpcap.A.dylib \ |
| 18 | -compatibility_version 1 \ |
| 19 | -current_version `sed 's/[^0-9.].*$$//' $(srcdir)/VERSION` |