diff options
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r-- | net-libs/libpcap/files/libpcap-9999-cross-linux.patch | 16 | ||||
-rw-r--r-- | net-libs/libpcap/libpcap-9999.ebuild | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/net-libs/libpcap/files/libpcap-9999-cross-linux.patch b/net-libs/libpcap/files/libpcap-9999-cross-linux.patch deleted file mode 100644 index f01a9ca5c935..000000000000 --- a/net-libs/libpcap/files/libpcap-9999-cross-linux.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -317,7 +317,12 @@ - dnl XXX This could be done for cross-compiling, but for now it's not. - dnl - if test -z "$with_pcap" && test "$cross_compiling" = yes; then -- AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...) -+ if test -z "$with_pcap" ; then -+ case $host in -+ *-linux*) with_pcap="linux";; -+ *) AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...);; -+ esac -+ fi - fi - AC_ARG_WITH(pcap, - AC_HELP_STRING([--with-pcap=TYPE],[use packet capture TYPE])) diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild index 28f3488e0abd..f7dcbffb9bf8 100644 --- a/net-libs/libpcap/libpcap-9999.ebuild +++ b/net-libs/libpcap/libpcap-9999.ebuild @@ -31,7 +31,6 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch - "${FILESDIR}"/${PN}-9999-cross-linux.patch "${FILESDIR}"/${PN}-9999-libnl.patch "${FILESDIR}"/${PN}-9999-prefix-darwin.patch ) |