summaryrefslogtreecommitdiff
path: root/audio/id3ren/files/patch-src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/id3ren/files/patch-src_Makefile')
-rw-r--r--audio/id3ren/files/patch-src_Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/id3ren/files/patch-src_Makefile b/audio/id3ren/files/patch-src_Makefile
new file mode 100644
index 000000000000..759ef05df597
--- /dev/null
+++ b/audio/id3ren/files/patch-src_Makefile
@@ -0,0 +1,27 @@
+--- src/Makefile.orig Fri Jan 7 10:08:02 2005
++++ src/Makefile Fri Jan 7 10:08:30 2005
+@@ -1,9 +1,10 @@
+ CFLAGSDEBUG = -g -O2 -Wall -DDEBUG
+-CFLAGS = -s -O2 -Wall
+-CC = gcc
+-RM = rm -f
+-INSTALL = install -s -m 755
+-INSTALL_DIR = /usr/bin
++CFLAGS ?= -O2 -Wall
++STRIP ?= -s
++CC ?= gcc
++RM ?= rm -f
++INSTALL = ${BSD_INSTALL_PROGRAM}
++INSTALL_DIR = ${PREFIX}/bin
+ INSTALL_NAME = id3ren
+
+ SOURCES = id3ren.c id3tag.c id3file.c id3misc.c
+@@ -12,7 +13,7 @@
+ all: ${INSTALL_NAME}
+
+ ${INSTALL_NAME}: ${SOURCES} ${INCLUDES}
+- ${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${STRIP} -o ${INSTALL_NAME} ${SOURCES}
+
+ debug:
+ ${CC} ${CFLAGSDEBUG} -o ${INSTALL_NAME} ${SOURCES}