diff options
author | arved <arved@FreeBSD.org> | 2003-11-21 22:45:40 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-11-21 22:45:40 +0800 |
commit | 639d0832325340a1913854242b67e06766e624f7 (patch) | |
tree | 552271ec4f85a1d1106d6d4dd2d34ce8fa9460b4 /net/py-libnet | |
parent | 5fa6510548a1e6b8a26c97521c48426d1856f897 (diff) | |
download | freebsd-ports-gnome-639d0832325340a1913854242b67e06766e624f7.tar.gz freebsd-ports-gnome-639d0832325340a1913854242b67e06766e624f7.tar.zst freebsd-ports-gnome-639d0832325340a1913854242b67e06766e624f7.zip |
Respect CFLAGS
Add -fPIC to hopefully fix build on amd64
Diffstat (limited to 'net/py-libnet')
-rw-r--r-- | net/py-libnet/files/patch-Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net/py-libnet/files/patch-Makefile b/net/py-libnet/files/patch-Makefile index 9a9b37665300..5290da4c165e 100644 --- a/net/py-libnet/files/patch-Makefile +++ b/net/py-libnet/files/patch-Makefile @@ -1,17 +1,19 @@ ---- Makefile.orig Mon Oct 15 15:54:55 2001 -+++ Makefile Wed Oct 30 22:24:31 2002 +--- Makefile.orig Mon Oct 15 08:54:55 2001 ++++ Makefile Fri Nov 21 15:44:14 2003 @@ -1,10 +1,10 @@ -SWIG=/usr/local/bin/swig -+SWIG=%%LOCALBASE%%/bin/swig1.1 - CC=gcc -g +-CC=gcc -g -PYTHON_INCLUDES=-I/usr/include/python1.5 -LIBNET_INCLUDES=-I/usr/include/libnet -+PYTHON_INCLUDES=-I%%PYTHON_INCLUDEDIR%% -+LIBNET_INCLUDES=-I%%LOCALBASE%%/include - CFLAGS=`libnet-config --defines` +-CFLAGS=`libnet-config --defines` -LIBNET_LIB=/usr/lib/libnet.a -+LIBNET_LIB=%%LOCALBASE%%/lib/libnet.a ++SWIG=/usr/local/bin/swig1.1 ++#CC=gcc -g ++PYTHON_INCLUDES=-I/usr/local/include/python2.3 ++LIBNET_INCLUDES=-I/usr/local/include ++CFLAGS+=`libnet-config --defines` -fPIC ++LIBNET_LIB=/usr/local/lib/libnet.a OBJS= libnet.o exception.o error.o interface.o |