1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/ipsorc/files/patch-aa
Ying-Chieh Liao 314d439acc upgrade to 1.7.5
PR:		45197
Submitted by:	maintainer
2002-11-11 17:54:14 +00:00

29 lines
868 B
Plaintext

--- Makefile.orig Sun Nov 10 19:38:17 2002
+++ Makefile Sun Nov 10 21:08:50 2002
@@ -1,6 +1,5 @@
## Makefile for IP Sorcery ##
-CC = cc
SPELL = magic
SRC = ipmagic.c spellbook.c cauldron.c spells.c tcp.c icmp.c udp.c
CON = sorcery.c spells.c route.c ip.c tcp.c udp.c ipsorcery.c icmp.c
@@ -12,15 +11,15 @@
all: con gtk
con:
- $(CC) -g -O2 -Wall -ansi -D_VERSION_=\"1.7.5\" -D_CON_ $(CON) -o ipmagic
+ $(CC) $(CFLAGS) -Wall -ansi -D_VERSION_=\"1.7.5\" -D_CON_ $(CON) -o ipmagic
gtk:
- $(CC) -g -O2 -Wall -ansi -D_GTK_ $(SRC) -o $(SPELL) `gtk-config --cflags --libs`
+ $(CC) $(CFLAGS) -Wall -ansi -D_GTK_ $(SRC) -o $(SPELL) `$(GTK_CONFIG) --cflags --libs`
solaris:
- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl
+ $(CC) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl
install: con-install