ports/net/py-libnet/files/patch-Makefile
2002-10-30 13:25:25 +00:00

17 lines
488 B
Text

--- Makefile.orig Mon Oct 15 15:54:55 2001
+++ Makefile Wed Oct 30 22:24:31 2002
@@ -1,10 +1,10 @@
-SWIG=/usr/local/bin/swig
+SWIG=%%LOCALBASE%%/bin/swig1.1
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`
-LIBNET_LIB=/usr/lib/libnet.a
+LIBNET_LIB=%%LOCALBASE%%/lib/libnet.a
OBJS= libnet.o exception.o error.o interface.o