aboutsummaryrefslogtreecommitdiff
path: root/net/magictun/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/magictun/files/patch-Makefile')
-rw-r--r--net/magictun/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/magictun/files/patch-Makefile b/net/magictun/files/patch-Makefile
new file mode 100644
index 000000000000..4750cabbf4b8
--- /dev/null
+++ b/net/magictun/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile Mon Jan 20 19:35:28 2003
++++ Makefile Mon Jan 20 19:35:41 2003
+@@ -1,14 +1,14 @@
+
+ # $Id: Makefile,v 1.4 2003/01/18 10:41:02 anight Exp $
+
+-CC=gcc
+-CFLAGS=-g3 -O0 -Wall
++CC?=gcc
++CFLAGS?=-g3 -O0 -Wall
+ TARGETS=magictun.so
+
+ all: $(TARGETS)
+
+ magictun.so: magictun.c
+- $(CC) $(CFLAGS) -fpic -shared magictun.c -o magictun.so -ldl
++ $(CC) $(CFLAGS) -fpic -shared magictun.c -o magictun.so
+
+ clean:
+ rm -f *.o $(TARGETS)