aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-03-08 21:03:13 +0800
committergahr <gahr@FreeBSD.org>2013-03-08 21:03:13 +0800
commitd26abc949eee4408484cc71a02a171019ea53bc8 (patch)
tree3c88512aa6ffc73121633de673f0989c2de3e031 /multimedia
parentf089cd1df056eae2e5595566ebcfed8f84dbc2c9 (diff)
downloadfreebsd-ports-gnome-d26abc949eee4408484cc71a02a171019ea53bc8.tar.gz
freebsd-ports-gnome-d26abc949eee4408484cc71a02a171019ea53bc8.tar.zst
freebsd-ports-gnome-d26abc949eee4408484cc71a02a171019ea53bc8.zip
- Add gettext library to xmms-config --libs
- While at it, get rid of PTHREAD_LIBS
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms/Makefile3
-rw-r--r--multimedia/xmms/files/patch-xmms-config.in14
2 files changed, 15 insertions, 2 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 4b8b81832a2f..972aa1d775ae 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.11
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
http://legacy.xmms2.org/ \
@@ -24,7 +24,6 @@ USE_AUTOTOOLS= automake autoconf libtool
AUTOTOOLSFILES= aclocal.m4
AUTOMAKE_ARGS= --add-missing
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
- PTHREAD_LIBS="${PTHREAD_LIBS}" \
INPUT_PLUGINS="${INPUT_PLUGINS}" \
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
diff --git a/multimedia/xmms/files/patch-xmms-config.in b/multimedia/xmms/files/patch-xmms-config.in
new file mode 100644
index 000000000000..e3d39c0d048a
--- /dev/null
+++ b/multimedia/xmms/files/patch-xmms-config.in
@@ -0,0 +1,14 @@
+--- xmms-config.in.orig 2013-03-08 13:50:50.000000000 +0100
++++ xmms-config.in 2013-03-08 13:51:04.000000000 +0100
+@@ -153,9 +153,9 @@
+ fi
+
+ if test "$lib_dir" != "/usr/lib"; then
+- libs="-L$lib_dir $gtk_libs -lxmms"
++ libs="-L$lib_dir $gtk_libs -lxmms -lgettextlib"
+ else
+- libs="$gtk_libs -lxmms"
++ libs="$gtk_libs -lxmms -lgettextlib"
+ fi
+
+ if test "$echo_cflags" = "yes"; then