diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libnet11/Portfile libnet11/Portfile
old
|
new
|
|
33 | 33 | checksums rmd160 b0549f639abfd21a892b73989f11b9b0716d62bc \ |
34 | 34 | sha256 d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a |
35 | 35 | |
| 36 | patchfiles patch-configure.in.diff |
| 37 | |
36 | 38 | post-patch { |
37 | 39 | reinplace "s|#include <net/bpf.h>||" ${worksrcpath}/src/libnet_link_bpf.c |
38 | 40 | } |
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libnet11/files/patch-configure.in.diff libnet11/files/patch-configure.in.diff
old
|
new
|
|
| 1 | --- configure.in.orig 2012-03-30 00:16:23.000000000 +0300 |
| 2 | +++ configure.in 2012-07-09 02:15:10.000000000 +0300 |
| 3 | @@ -199,23 +199,9 @@ |
| 4 | *darwin*) |
| 5 | AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, |
| 6 | [Define if the sockaddr structure includes a sa_len member.]) |
| 7 | - LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN" |
| 8 | - |
| 9 | -dnl |
| 10 | -dnl Check to see if x86 |
| 11 | -dnl |
| 12 | - |
| 13 | - case "$target" in |
| 14 | - i?86-*-*darwin*) |
| 15 | - AC_DEFINE(LIBNET_BSDISH_OS) |
| 16 | - AC_DEFINE(LIBNET_BSD_BYTE_SWAP) |
| 17 | - LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP" |
| 18 | - ;; |
| 19 | - |
| 20 | - *) |
| 21 | - ;; |
| 22 | - |
| 23 | - esac |
| 24 | + AC_DEFINE(LIBNET_BSDISH_OS) |
| 25 | + AC_DEFINE(LIBNET_BSD_BYTE_SWAP) |
| 26 | + LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP" |
| 27 | |
| 28 | ;; |
| 29 | |