aboutsummaryrefslogtreecommitdiff
path: root/audio/mpg123/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-10 12:19:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-10 12:19:08 +0000
commitf8c23b28230d05b8b093af306e286af2a3deda02 (patch)
treef68ac9c25a25875f1062b556bc25aed663e6fdd9 /audio/mpg123/files
parentf7c634fd5e7c337bf4314da19c630d3bbce3842b (diff)
downloadports-f8c23b28230d05b8b093af306e286af2a3deda02.tar.gz
ports-f8c23b28230d05b8b093af306e286af2a3deda02.zip
Add ability to recode mp3 tags using iconv library. This is useful for koi8
users, because russian tags usually coded in cp1251 encoding. Submitted by: Alexey V. Neyman <avn@any.ru> Gleb Smirnoff <glebius@tak.estra.ru>
Notes
Notes: svn path=/head/; revision=41199
Diffstat (limited to 'audio/mpg123/files')
-rw-r--r--audio/mpg123/files/patch-aa18
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/mpg123/files/patch-aa b/audio/mpg123/files/patch-aa
index 3c742412f8bc..b0374222e627 100644
--- a/audio/mpg123/files/patch-aa
+++ b/audio/mpg123/files/patch-aa
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- Makefile.orig Sat Mar 10 11:50:58 2001
-+++ Makefile Sat Mar 10 12:02:21 2001
+--- Makefile 2001/04/10 11:50:14 1.1
++++ Makefile 2001/04/10 11:51:38
@@ -4,13 +4,15 @@
# Where to install binary and manpage on "make install":
@@ -21,13 +18,20 @@ $FreeBSD$
# Additional LIBDIR and libraries if exist
IPV6LIBDIR=
IPV6LIB=
-@@ -300,35 +302,65 @@
+@@ -300,6 +302,9 @@
#CFLAGS='$(CFLAGS) -DI386_ASSEM -O2 -DREAL_IS_FLOAT -DLINUX -Wall -g'
#CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2'
+CC ?= cc
+LDFLAGS =
+
+ .if defined(WITH_ICONV)
+ CFLAGS+=-DWITH_ICONV -I${LOCALBASE}/include
+ LDFLAGS+=-L${LOCALBASE}/lib -liconv
+@@ -308,35 +313,62 @@
+ .endif
+ .endif
+
+.if ${MACHINE_ARCH} == "i386"
+ARCHOPT= -funroll-all-loops -ffast-math -fomit-frame-pointer \
+ -DROT_I386 -DI386_ASSEM -DREAL_IS_FLOAT
@@ -108,7 +112,7 @@ $FreeBSD$
$(FRONTEND)
-@@ -567,7 +599,7 @@
+@@ -575,7 +607,7 @@
@ $(MAKE) CFLAGS='$(CFLAGS)' BINNAME=mpg123m mpg123
mpg123-make: