aboutsummaryrefslogtreecommitdiff
path: root/audio/easytag-devel/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/easytag-devel/files/patch-Makefile')
-rw-r--r--audio/easytag-devel/files/patch-Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/audio/easytag-devel/files/patch-Makefile b/audio/easytag-devel/files/patch-Makefile
new file mode 100644
index 000000000000..a36fc2f4b860
--- /dev/null
+++ b/audio/easytag-devel/files/patch-Makefile
@@ -0,0 +1,39 @@
+--- Makefile.orig Mon Apr 16 17:13:01 2001
++++ Makefile Thu May 17 01:48:41 2001
+@@ -14,14 +14,12 @@
+
+
+ # Installation prefix dirctory:
+-PREFIX = /usr
+ BINDIR = $(PREFIX)/bin
+
+
+-CC = gcc
+ GLIBS = `gtk-config --libs`
+ GFLAGS = `gtk-config --cflags` $(NLS) -DLOCALE=\"${LOCALEDIR}\" $(DATA_DIR)
+-OPT = -g -Wall -O2 #-mpentium #-pedantic
++OPT = ${CFLAGS}
+ MAKE = make
+ LOCALEDIR = $(PREFIX)/share/locale
+
+@@ -33,14 +31,14 @@
+
+
+ all:
+- $(MAKE) -C src all
+- [ -z "$(NLS)" ] || $(MAKE) -C po all
++ (cd src ; $(MAKE) all)
++ [ -z "$(NLS)" ] || (cd po ; $(MAKE) all)
+
+ install:
+- $(MAKE) install -C src
+- [ -z "$(NLS)" ] || $(MAKE) install -C po
+- cp -f easytag.desktop $(PREFIX)/share/gnome/apps/Multimedia/
+- cp -f pixmaps/EasyTAG_icon.xpm $(PREFIX)/share/pixmaps/EasyTAG.xpm
++ (cd src ; $(MAKE) install)
++ [ -z "$(NLS)" ] || (cd po ; $(MAKE) install)
++# cp -f easytag.desktop $(PREFIX)/share/gnome/apps/Multimedia/
++# cp -f pixmaps/EasyTAG_icon.xpm $(PREFIX)/share/pixmaps/EasyTAG.xpm
+ mkdir -p $(PREFIX)/share/easytag
+ cp -f pixmaps/EasyTAG_logo.xpm $(PREFIX)/share/easytag/
+ @echo "------"