diff options
Diffstat (limited to 'net-p2p/dctc/files/patch-src:Makefile')
-rw-r--r-- | net-p2p/dctc/files/patch-src:Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-p2p/dctc/files/patch-src:Makefile b/net-p2p/dctc/files/patch-src:Makefile new file mode 100644 index 000000000000..1d588ba4f810 --- /dev/null +++ b/net-p2p/dctc/files/patch-src:Makefile @@ -0,0 +1,20 @@ +--- src/Makefile.orig Thu Nov 22 02:16:36 2001 ++++ src/Makefile Thu Nov 22 02:17:21 2001 +@@ -1,6 +1,6 @@ + #CC = gcc +-CFLAGS =-g -march=i586 -O2 -Wall `glib-config --cflags glib gthread` -Wpointer-arith -Wcast-qual -Wwrite-strings #-Wshadow +-LDFLAGS = -g `glib-config --libs glib gthread` ++CFLAGS +=-g -Wall `${GLIB_CONFIG} --cflags glib gthread` -Wpointer-arith -Wcast-qual -Wwrite-strings -I${LOCALBASE}/include ++LDFLAGS += -g `${GLIB_CONFIG} --libs glib gthread` + + CSRC = main.c action.c dc_com.c display.c key.c keyboard.c network.c typical_action.c dc_manage.c db.c he3.c gts.c user_manage.c md.c timed_out_string.c + +@@ -15,7 +15,7 @@ + $(CC) $(CFLAGS) $(LDFLAGS) $(COBJ) -o dctc + + hublist: $(COBJ1) +- $(CC) $(CFLAGS) $(LDFLAGS) $(COBJ1) -o hublist ++ $(CC) $(CFLAGS) $(LDFLAGS) $(COBJ1) -o dc_hublist + + depend: + makedepend -- $(CFLAGS) -- $(CSRC) $(CSRC1) |