From c5d28b5906c1f39d56d4944ebfe4e947eb167c3f Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Wed, 12 Jul 2006 19:02:34 +0000 Subject: x11-misc/xorg-edit: New Ebuild for bug 139850 thanks to Priyantha Bleeker and Jakub Moc svn path=/sunrise/; revision=597 --- .../files/xorg-edit-06.06.11-makefile.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 x11-misc/xorg-edit/files/xorg-edit-06.06.11-makefile.patch (limited to 'x11-misc/xorg-edit/files/xorg-edit-06.06.11-makefile.patch') diff --git a/x11-misc/xorg-edit/files/xorg-edit-06.06.11-makefile.patch b/x11-misc/xorg-edit/files/xorg-edit-06.06.11-makefile.patch new file mode 100644 index 000000000..429d0745d --- /dev/null +++ b/x11-misc/xorg-edit/files/xorg-edit-06.06.11-makefile.patch @@ -0,0 +1,31 @@ +--- xorg-edit~/sources/Makefile 2006-07-12 19:33:14.000000000 +0200 ++++ xorg-edit/sources/Makefile 2006-07-12 20:01:46.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