openbsd-ports/graphics/djvulibre/patches/patch-configure
shadchin 2528f20c97 update to 3.5.24
ok jasper@
2011-03-17 14:56:54 +00:00

43 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.4 2011/03/17 14:56:54 shadchin Exp $
--- configure.orig Sun Mar 6 22:43:17 2011
+++ configure Sat Mar 12 21:08:54 2011
@@ -14885,13 +14885,12 @@ fi
for opt in $saved_CXXFLAGS ; do
case $opt in
-g*) test $ac_debug != no && OPTS="$OPTS $opt" ;;
- -O*) ;;
*) CXXFLAGS="$CXXFLAGS $opt" ;;
esac
done
for opt in $saved_CFLAGS ; do
case $opt in
- -O*|-g*) ;;
+ -g*) ;;
*) CFLAGS="$CFLAGS $opt" ;;
esac
done
@@ -14923,7 +14922,6 @@ $as_echo_n "checking if $CXX accepts $opt... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
rm conftest.*
- OPTS="$OPTS -O3"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
@@ -14937,7 +14935,6 @@ $as_echo_n "checking if $CXX accepts $opt... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
rm conftest.*
- OPTS="$OPTS -O2"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
@@ -14978,7 +14975,6 @@ $as_echo_n "checking if $CXX accepts $opt... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
rm conftest.*
- OPTS="$OPTS $opt"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }