aboutsummaryrefslogtreecommitdiff
path: root/editors/biew
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-10-05 13:21:36 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-10-05 13:21:36 +0000
commit4fef5f3f9d7b6693fc2c5c5efd6f672556e444d8 (patch)
treeab468b24f10fb0347b29b8669ab4d309feb9f6d2 /editors/biew
parentb9c21be60cf1308aeda1085b5bd3c29a515ebbcd (diff)
downloadports-4fef5f3f9d7b6693fc2c5c5efd6f672556e444d8.tar.gz
ports-4fef5f3f9d7b6693fc2c5c5efd6f672556e444d8.zip
Fix the build on ia32 with default (CPU-agnostic) CFLAGS.
Reported by: pointyhat via erwin
Notes
Notes: svn path=/head/; revision=262437
Diffstat (limited to 'editors/biew')
-rw-r--r--editors/biew/files/patch-configure16
1 files changed, 14 insertions, 2 deletions
diff --git a/editors/biew/files/patch-configure b/editors/biew/files/patch-configure
index acccad560c63..ac68b5d46645 100644
--- a/editors/biew/files/patch-configure
+++ b/editors/biew/files/patch-configure
@@ -1,6 +1,18 @@
--- configure.orig
+++ configure
-@@ -544,10 +544,10 @@
+@@ -583,10 +583,10 @@
+ _osldef="$_debug $_profile $_osldef"
+ elif test -z "$CFLAGS" ; then
+ _cdefos="-DNDEBUG=1 -O2 -ffast-math -fomit-frame-pointer $_cdefos"
+- x86 && _cdefos="-mmmx -msse $_cdefos"
+ else
+ _cdefos="-DNDEBUG=1 $CFLAGS $_cdefos"
+ fi
++x86 && _cdefos="-mmmx -msse $_cdefos"
+ test -n "$LDFLAGS" && _osldef="$LDFLAGS $_osldef"
+ test -n "$LIBS" && _osldef="$LIBS $_osldef"
+
+@@ -656,10 +656,10 @@
echocheck "slang.h"
check_header slang.h
enabled slang_h && _cdefos="-D_SLANG_ -D__OS_NAME__='\"Unix/Slang\"' $_cdefos"
@@ -13,7 +25,7 @@
echocheck "curses.h"
cat > $TMPC << EOF
#include <curses.h>
-@@ -566,8 +566,10 @@
+@@ -678,8 +678,10 @@
fi
echores "$_curses"
fi