1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- fix build on aplha

Reported by:	Anton Shterenlikht
This commit is contained in:
Dirk Meyer 2008-07-16 14:27:32 +00:00
parent 983bf81eb4
commit b8604da098
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216916

View File

@ -1,11 +1,12 @@
--- configure.orig 2008-03-10 20:32:12.000000000 +0100
+++ configure 2008-04-03 17:38:34.000000000 +0200
@@ -34060,7 +34060,7 @@
# Check whether --with-platformsdkincludedir was given.
if test "${with_platformsdkincludedir+set}" = set; then
- withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE//'\\'/\\\\}; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE_ESCAPED// /\\ }
+ withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE}; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE_ESCAPED}
fi
--- configure.orig 2008-07-07 04:27:21.000000000 +0200
+++ configure 2008-07-11 11:42:18.000000000 +0200
@@ -6481,6 +6481,9 @@
*-apple-darwin* )
CFLAGS="${CFLAGS} -fno-common -Wall"
;;
+ *alpha*-freebsd* )
+ CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall"
+ ;;
*-freebsd* )
CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math"
;;