summaryrefslogtreecommitdiff
path: root/audio/id3v2/patches
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-10-01 12:23:39 +0000
committertonio <tonio@pkgsrc.org>2006-10-01 12:23:39 +0000
commit39afa8e2f54458d5830b87493fca4fa74f9ee380 (patch)
treeabf2abad8970f152076ecbb76f75aeb8ee7420d1 /audio/id3v2/patches
parent1864ead2bc8513ab174afb0bab07028d41ea908b (diff)
downloadpkgsrc-39afa8e2f54458d5830b87493fca4fa74f9ee380.tar.gz
Fix build under Darwin by explicitly linking against libiconv
Bump PKGREVISION
Diffstat (limited to 'audio/id3v2/patches')
-rw-r--r--audio/id3v2/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/id3v2/patches/patch-aa b/audio/id3v2/patches/patch-aa
new file mode 100644
index 00000000000..643bddf0d03
--- /dev/null
+++ b/audio/id3v2/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.5 2006/10/01 12:23:39 tonio Exp $
+
+--- Makefile.orig 2004-05-04 20:33:53.000000000 +0200
++++ Makefile
+@@ -2,12 +2,12 @@ all: id3v2
+
+ VERSION=0.1.11
+
+-PREFIX= /usr/local
++PREFIX?= /usr/local
+ CXXFLAGS+= -I${PREFIX}/include/ -DVERSION="\"${VERSION}\"" #-DSORT_RUNTIME
+ LDFLAGS+= -L${PREFIX}/lib/
+
+ id3v2: convert.o list.o id3v2.o genre.o
+- c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^
++ c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -liconv -g -o $@ $^
+
+ create_map: create_map.o
+ c++ -Wall -g -o $@ $^