From dff669dca3c9fd18eaf4168fe60b0a8135a0a4dd Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Sat, 12 Aug 2006 18:55:32 +0000 Subject: x11-misc/xorg-edit: Version bump svn path=/sunrise/; revision=866 --- .../files/xorg-edit-06.08.02-makefile.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch (limited to 'x11-misc/xorg-edit/files/xorg-edit-06.08.02-makefile.patch') 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) -- cgit v1.2.3-65-gdbad