diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-11-21 14:45:40 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-11-21 14:45:40 +0000 |
commit | fe70b7961ec76bf302c8e77e4a34c171c4211fde (patch) | |
tree | dcf0f8755790df21cb57169feecd728ab4f36dc4 /net/py-libnet/files/patch-Makefile | |
parent | Add -fPIC to fix build on amd64 (diff) |
Respect CFLAGS
Add -fPIC to hopefully fix build on amd64
Notes
Notes:
svn path=/head/; revision=94650
Diffstat (limited to '')
-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 |