diff options
Diffstat (limited to 'x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch')
-rw-r--r-- | x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch b/x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch new file mode 100644 index 000000000..70747862e --- /dev/null +++ b/x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch @@ -0,0 +1,32 @@ +diff -ru xorg-edit~/sources/Makefile xorg-edit/sources/Makefile +--- xorg-edit~/sources/Makefile 2006-08-12 20:46:06.000000000 +0200 ++++ xorg-edit/sources/Makefile 2006-08-12 20:49:18.000000000 +0200 +@@ -5,7 +5,9 @@ + + # variables + +-CXX = `wx-config --cxx` ++CXX ?= `wx-config --cxx` ++LDFLAGS+=`wx-config --libs` ++CXXFLAGS+=`wx-config --cxxflags` + + PROGRAM = xorg-edit + +@@ -17,14 +19,12 @@ + + all: $(PROGRAM) + +- rm -f *.o + + $(PROGRAM): $(OBJECTS) +- $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` +- +-$(OBJECTS): $(SOURCES) +- $(CXX) -c $(SOURCES) `wx-config --cxxflags` ++ $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS) + ++%.o: %.c ++ $(CXX) -o $@ -c $< $(CXXFLAGS) + + clean: + rm -f *.o $(PROGRAM) |