openbsd-ports/x11/afterstep/patches/patch-libAfterBase_configure
naddy 2f12d2fceb * make this build on alpha by removing something that was intended
to help it build on alpha...
* honor CFLAGS
2012-04-12 17:31:12 +00:00

51 lines
1.3 KiB
Plaintext

$OpenBSD: patch-libAfterBase_configure,v 1.2 2012/04/12 17:31:12 naddy Exp $
Force disable libexecinfo, causes problems during linking.
--- libAfterBase/configure.orig Mon May 4 22:56:26 2009
+++ libAfterBase/configure Thu Apr 12 18:45:37 2012
@@ -2997,18 +2997,8 @@ fi
fi
-if test "x$enable_gdb" = "xno"; then
- DIRTY_CFLAGS="$CFLAGS"
- CFLAGS="-O3"
- for f in $DIRTY_CFLAGS; do
- if test "x$f" != "x-O2" -a "x$f" != "x-O3"; then
- CFLAGS="$CFLAGS $f"
- fi
- done
-fi
-
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
@@ -5660,7 +5650,7 @@ done
-for ac_header in sys/wait.h sys/dirent.h sys/time.h link.h execinfo.h malloc.h stdlib.h
+for ac_header in sys/wait.h sys/dirent.h sys/time.h link.h malloc.h stdlib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -6379,6 +6369,7 @@ done
+if false; then
for ac_func in backtrace_symbols_fd backtrace_symbols backtrace
@@ -6481,6 +6472,7 @@ _ACEOF
fi
done
+fi
echo "$as_me:$LINENO: checking for struct sigcontext" >&5
echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6