aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2006-09-10 11:27:53 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2006-09-10 11:27:53 +0000
commitf2ea2d458c81f1dee077d69f0956f06aa2443d10 (patch)
treedfba0c252a6a4f5390d7542c69077dffb97c0ed7 /multimedia
parent1dbd65e2d22b9cbca81a952677895acfbb73714d (diff)
downloadports-f2ea2d458c81f1dee077d69f0956f06aa2443d10.tar.gz
ports-f2ea2d458c81f1dee077d69f0956f06aa2443d10.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/bmpx/Makefile8
-rw-r--r--multimedia/bmpx/files/patch-m4-gettext.m420
2 files changed, 23 insertions, 5 deletions
diff --git a/multimedia/bmpx/Makefile b/multimedia/bmpx/Makefile
index 7206eb921f4b..0ab8ce420308 100644
--- a/multimedia/bmpx/Makefile
+++ b/multimedia/bmpx/Makefile
@@ -23,10 +23,7 @@ LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib \
boost_date_time.3:${PORTSDIR}/devel/boost \
dbus-1.2:${PORTSDIR}/devel/dbus
-BROKEN= Incomplete pkg-plist (needs to use gettext infrastructure)
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
+USE_AUTOTOOLS= autoconf:259
USE_BISON= yes
USE_BZIP2= yes
USE_FAM= yes
@@ -39,7 +36,8 @@ USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
- --with-dbus-services-dir="${PREFIX}/share/dbus-1/services"
+ --with-dbus-services-dir="${PREFIX}/share/dbus-1/services" \
+ --with-libintl-prefix="${LOCALBASE}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/multimedia/bmpx/files/patch-m4-gettext.m4 b/multimedia/bmpx/files/patch-m4-gettext.m4
new file mode 100644
index 000000000000..ca887a0617a8
--- /dev/null
+++ b/multimedia/bmpx/files/patch-m4-gettext.m4
@@ -0,0 +1,20 @@
+--- m4/gettext.m4.orig Sat Sep 9 14:56:32 2006
++++ m4/gettext.m4 Sat Sep 9 14:57:19 2006
+@@ -172,7 +172,7 @@
+ #ifdef __cplusplus
+ "C"
+ #endif
+-const char *_nl_expand_alias ();],
++const char *_nl_expand_alias (const char *);],
+ [bindtextdomain ("", "");
+ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
+ gt_cv_func_gnugettext_libintl=yes,
+@@ -193,7 +193,7 @@
+ #ifdef __cplusplus
+ "C"
+ #endif
+-const char *_nl_expand_alias ();],
++const char *_nl_expand_alias (const char *);],
+ [bindtextdomain ("", "");
+ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
+ [LIBINTL="$LIBINTL $LIBICONV"