openbsd-ports/multimedia/mkvtoolnix/patches/patch-configure
benoit e00348f92d - unbreak port
- fix in configure from naddy@

with tweaks and ok by ajacoutot@
2010-04-17 13:14:01 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.10 2010/04/17 13:14:03 benoit Exp $
--- configure.orig Fri Feb 12 16:44:54 2010
+++ configure Fri Apr 9 22:14:08 2010
@@ -5008,7 +5008,7 @@
OPTIMIZATION_CFLAGS=""
else
DEBUG_CFLAGS=""
- OPTIMIZATION_CFLAGS="-O3"
+ OPTIMIZATION_CFLAGS=""
fi
# Check whether --enable-profiling was given.
if test "${enable_profiling+set}" = set; then :
@@ -9001,7 +9001,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
$as_echo "$ac_cv_lib_intl_gettext" >&6; }
if test "x$ac_cv_lib_intl_gettext" = x""yes; then :
- LIBINTL_LIBS="-lintl";
+ LIBINTL_LIBS="-lintl -liconv";
gettext_found=yes
else
gettext_found=no
@@ -9073,7 +9073,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the mmg guide translation languages to install" >&5
$as_echo_n "checking the mmg guide translation languages to install... " >&6; }
-GUIDE_TRANSLATIONS="`find $srcdir/doc/guide -maxdepth 1 -type d -printf '%f\n' | sed -e 1d | tr '\n' ' '`"
+GUIDE_TRANSLATIONS="`find $srcdir/doc/guide -maxdepth 1 -type d -print | sed -e 1d -e 's:.*/::' | tr '\n' ' '`"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUIDE_TRANSLATIONS" >&5
$as_echo "$GUIDE_TRANSLATIONS" >&6; }