* make this build on alpha by removing something that was intended

to help it build on alpha...
* honor CFLAGS
This commit is contained in:
naddy 2012-04-12 17:31:12 +00:00
parent 8616c8bb91
commit 2f12d2fceb
4 changed files with 60 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.42 2011/09/16 12:29:12 espie Exp $
# $OpenBSD: Makefile,v 1.43 2012/04/12 17:31:12 naddy Exp $
COMMENT= window manager, continuation of the Bowman NeXTSTEP clone
DISTNAME= AfterStep-2.2.9
PKGNAME= ${DISTNAME:L}
REVISION= 3
REVISION= 4
CATEGORIES= x11
MASTER_SITES= http://distfiles.nl/ \
ftp://ftp.afterstep.org/stable/

View File

@ -1,10 +1,29 @@
$OpenBSD: patch-libAfterBase_configure,v 1.1 2009/12/06 15:09:22 jasper Exp $
$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 Dec 3 17:22:18 2009
@@ -5660,7 +5660,7 @@ done
+++ 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
@ -13,7 +32,7 @@ Force disable libexecinfo, causes problems during linking.
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -6379,6 +6379,7 @@ done
@@ -6379,6 +6369,7 @@ done
@ -21,7 +40,7 @@ Force disable libexecinfo, causes problems during linking.
for ac_func in backtrace_symbols_fd backtrace_symbols backtrace
@@ -6481,6 +6482,7 @@ _ACEOF
@@ -6481,6 +6472,7 @@ _ACEOF
fi
done

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-libAfterImage_configure,v 1.1 2012/04/12 17:31:12 naddy Exp $
--- libAfterImage/configure.orig Thu Apr 12 18:38:50 2012
+++ libAfterImage/configure Thu Apr 12 18:40:05 2012
@@ -3237,16 +3237,6 @@ 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" -a "x$f" != "x-O"; then
- CFLAGS="$CFLAGS $f"
- fi
- done
-fi
-
MMX_CFLAGS="-mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000"
have_mmx_intrinsics=no

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-libAfterStep_asapp_h,v 1.1 2012/04/12 17:31:12 naddy Exp $
--- libAfterStep/asapp.h.orig Thu Apr 12 17:45:11 2012
+++ libAfterStep/asapp.h Thu Apr 12 17:45:20 2012
@@ -15,10 +15,6 @@
#include "sun_headers.h"
#endif
-#if defined(__alpha)
-#include "alpha_header.h"
-#endif /* NEEDS_ALPHA_HEADER */
-
/* Some people say that AIX and AIXV3 need 3 preceding underscores, other say
* no. I'll do both */
#if defined ___AIX || defined _AIX || defined __QNX__ || defined ___AIXV3 || defined AIXV3 || defined _SEQUENT_