aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorEdward George2010-04-14 09:06:36 +0100
committerAdam Vandenberg2010-04-14 07:38:44 -0700
commit3f1eabd7059f2af096e6461d1605fcb78cb120ce (patch)
treefa85fa854c1929c8dce9d2f424d76d4fd983d5df /Library/Formula
parent64f25d9286935a708b25c2d9048c916d687fc15e (diff)
downloadhomebrew-3f1eabd7059f2af096e6461d1605fcb78cb120ce.tar.bz2
removed patches from libnet formula.
the patches in the formula fail to apply against the latest code in the libnet git repository, libnet compiles without these patches now it seems. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libnet.rb48
1 files changed, 0 insertions, 48 deletions
diff --git a/Library/Formula/libnet.rb b/Library/Formula/libnet.rb
index 3ca5dc0a2..74520d1cb 100644
--- a/Library/Formula/libnet.rb
+++ b/Library/Formula/libnet.rb
@@ -4,16 +4,6 @@ class Libnet < Formula
head 'git://github.com/sam-github/libnet.git'
homepage 'http://github.com/sam-github/libnet'
- #
- # First patch of DATA stolen from macports, not sure what it does, fails to compile without:
- # http://trac.macports.org/export/61844/trunk/dports/net/libnet11/files/patch-configure.in
- #
- # Second patch added to use glibtoolize instead of libtoolize, as OS X renames it.
- #
- def patches
- DATA
- end
-
def install
cd 'libnet'
system "./autogen.sh"
@@ -23,41 +13,3 @@ class Libnet < Formula
end
end
-__END__
---- /libnet/configure.in.org 2006-08-30 07:53:09.000000000 -0700
-+++ /libnet/configure.in 2006-08-30 07:54:01.000000000 -0700
-@@ -158,6 +158,23 @@
- *darwin*)
- AC_DEFINE(HAVE_SOCKADDR_SA_LEN)
- LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN"
-+
-+dnl
-+dnl Check to see if x86
-+dnl
-+
-+ case "$target" in
-+ i?86-*-*darwin*)
-+ AC_DEFINE(LIBNET_BSDISH_OS)
-+ AC_DEFINE(LIBNET_BSD_BYTE_SWAP)
-+ LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
-+ ;;
-+
-+ *)
-+ ;;
-+
-+ esac
-+
- ;;
-
- *solaris*)
---- /libnet/autogen.sh 2009-12-19 16:37:41.000000000 -0500
-+++ /libnet/autogen.sh 2009-12-19 16:39:24.000000000 -0500
-@@ -12,7 +12,7 @@
- set -e
-
- rm -fr autom4te.cache
--libtoolize --force
-+glibtoolize --force
- aclocal -I . -I /sw/share/aclocal || aclocal -I .
- autoheader
- automake --foreign --force --add-missing --copy