diff options
Diffstat (limited to 'devel/terminality/files/patch-dlgc__Makefile')
-rw-r--r-- | devel/terminality/files/patch-dlgc__Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/terminality/files/patch-dlgc__Makefile b/devel/terminality/files/patch-dlgc__Makefile new file mode 100644 index 000000000000..2485a12bb077 --- /dev/null +++ b/devel/terminality/files/patch-dlgc__Makefile @@ -0,0 +1,34 @@ +--- dlgc/Makefile.orig Fri Jul 26 17:53:14 2002 ++++ dlgc/Makefile Thu Aug 8 02:08:37 2002 +@@ -4,9 +4,8 @@ + # Description: DLGC Makefile + # Author: Michal Safranek + +-CC = gcc +-CPP = g++ +-CFLAGS = -g -I.. -Wall ++CFLAGS += -I.. ++CXXFLAGS += -I.. + LIBS = -lncurses ../libtn.a + + .SUFFIXES: .c .cpp .h +@@ -14,16 +13,16 @@ + all: dlgc + + ../libtn.a: +- (cd .. && make libtn.a) ++ (cd .. && ${MAKE} libtn.a) + + dlgc: dlgc.o ../libtn.a +- $(CC) -o dlgc dlgc.o $(CFLAGS) $(LIBS) -lstdc++ ++ $(CXX) -o dlgc dlgc.o $(CXXFLAGS) $(LIBS) + + .c.o: + $(CC) $(CFLAGS) -c $< + + .cpp.o: +- $(CPP) $(CFLAGS) -c $< ++ $(CXX) $(CXXFLAGS) -c $< + + clean: + rm -f core *~ *.o dlgc |