mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
3fc5d2d863
who brought you C-Kermit, but released under the GPL. It's meant to be small and fast and only useful for up/downloading. PR: 15984 Submitted by: Dom.Mitchell@palmerharvey.co.uk
33 lines
741 B
Plaintext
33 lines
741 B
Plaintext
--- Makefile.orig Tue Jan 11 08:42:38 2000
|
|
+++ Makefile Tue Jan 11 08:44:12 2000
|
|
@@ -37,8 +37,10 @@
|
|
|
|
# Default compiler and flags
|
|
|
|
-CC=cc
|
|
-CFLAGS= -DPOSIX -O $(KFLAGS)
|
|
+#CC=cc
|
|
+#CFLAGS= -DPOSIX -O $(KFLAGS)
|
|
+DEFS=-DPOSIX
|
|
+CFLAGS+= $(DEFS)
|
|
|
|
# Object files
|
|
|
|
@@ -70,13 +72,13 @@
|
|
$(CC) -o gkermit $(OBJECTS)
|
|
|
|
bsd: gwart
|
|
- $(MAKE) "CC=$(CC)" "CFLAGS=-DBSD -O $(KFLAGS)" gkermit
|
|
+ $(MAKE) "CC=$(CC)" "DEFS=-DBSD $(KFLAGS)" gkermit
|
|
|
|
sysv: gwart
|
|
- $(MAKE) "CC=$(CC)" "CFLAGS=-DSYSV -O $(KFLAGS)" gkermit
|
|
+ $(MAKE) "CC=$(CC)" "DEFS=-DSYSV $(KFLAGS)" gkermit
|
|
|
|
posix: gwart
|
|
- $(MAKE) "CC=$(CC)" "CFLAGS=-DPOSIX -O $(KFLAGS)" gkermit
|
|
+ $(MAKE) "CC=$(CC)" "DEFS=-DPOSIX $(KFLAGS)" gkermit
|
|
|
|
sysvx: gwart
|
|
$(MAKE) "CC=$(CC)" \
|