diff options
Diffstat (limited to 'media-gfx/monica/files/monica-3.7-makefile-cleanup.patch')
-rw-r--r-- | media-gfx/monica/files/monica-3.7-makefile-cleanup.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-gfx/monica/files/monica-3.7-makefile-cleanup.patch b/media-gfx/monica/files/monica-3.7-makefile-cleanup.patch new file mode 100644 index 000000000000..4d7501254ada --- /dev/null +++ b/media-gfx/monica/files/monica-3.7-makefile-cleanup.patch @@ -0,0 +1,33 @@ +diff -Nuar monica-3.6.orig/Makefile monica-3.6/Makefile +--- monica-3.6.orig/Makefile 2005-03-14 22:00:18.000000000 -0800 ++++ monica-3.6/Makefile 2007-11-15 00:48:39.000000000 -0800 +@@ -2,22 +2,24 @@ + CXX = g++ + LINK = g++ + CFLAGS = -Wall -O2 +-CXXFLAGS = `fltk-config --cxxflags` -Wall -O2 +-LDFLAGS = `fltk-config --ldflags` ++CXXFLAGS = -Wall -O2 ++FLTK_CXXFLAGS = $(shell fltk-config --cxxflags) ++LDFLAGS = ++FLTK_LDFLAGS = $(shell fltk-config --ldflags) + TARGET = monica +-DESTINATION = /usr/bin ++DESTINATION = $(DESTDIR)/usr/bin + OBJECTS = monica.o + + all: $(TARGET) + + $(TARGET): $(OBJECTS) +- $(LINK) -o $(TARGET) $(OBJECTS) $(LDFLAGS) ++ $(LINK) -o $(TARGET) $(OBJECTS) $(FLTK_LDFLAGS) $(LDFLAGS) + + + monica.o: monica.cpp +- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o monica.o monica.cpp ++ $(CXX) -c $(FLTK_CXXFLAGS) $(CXXFLAGS) $(INCPATH) -o monica.o monica.cpp + + clean: + rm -f $(OBJECTS) + rm -f monica + |