summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/potamus/files/potamus-Makefile.patch')
-rw-r--r--media-sound/potamus/files/potamus-Makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/potamus/files/potamus-Makefile.patch b/media-sound/potamus/files/potamus-Makefile.patch
new file mode 100644
index 000000000000..9e9e20efed98
--- /dev/null
+++ b/media-sound/potamus/files/potamus-Makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile.old 2004-01-16 11:25:11.000000000 +0900
++++ Makefile 2005-01-06 14:03:06.640334056 +0900
+@@ -3,11 +3,11 @@
+ CPPFLAGS = -std=gnu99 -Wall -g `pkg-config --cflags $(PKGS)` -DDATADIR=\"$(datadir)\"
+ LIBS = `pkg-config --libs $(PKGS)`
+
+-prefix = /home/azz/src/potamus
++prefix = /usr
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ datadir = $(prefix)/share
+-DESTDIR =
++
+
+ potamus: $(OBJS)
+ $(CC) $(CPPFLAGS) -o potamus $(OBJS) $(LIBS)
+@@ -21,7 +21,7 @@
+ rm -f $(OBJS) potamus *~ *.bak depend share/potamus/*.bak
+
+ depend:
+- @for x in *.c ; do $(CXX) -MM $$x ; done >depend
++ @for x in *.c ; do $(CXX) `pkg-config --cflags $(PKGS)` -DDATADIR=\"$(datadir)\" -MM $$x ; done >depend
+ .PHONY: depend
+
+ include depend