freebsd-ports/devel/icu4/files/patch-cc-flags
Mikhail Teterin ebcdf588dc Update this port (long obsoleted by icu2) to the latest icu-3.2.
Add Ukrainian KOI8-U encoding and fix Ukrainian spell-out rules.
Build the vendor's tests and run them automatically after build.

Once the wrinkles (if any) are ironed out, the current users of
icu2 should switch to icu and icu2 deleted.

PR: ports/71790
Submitted by: Andriy Gapon
2004-11-18 19:58:21 +00:00

27 lines
728 B
Text

--- source/runConfigureICU Fri Jan 16 17:26:40 2004
+++ source/runConfigureICU Mon Nov 15 11:05:50 2004
@@ -289,7 +289,7 @@
*BSD)
- THE_OS="BSD"
+ THE_OS="$platform"
- THE_COMP="the GNU C++"
- CC=gcc; export CC
- CXX=g++; export CXX
+ CC=${CC:=cc}; export CC
+ CXX=${CXX:=c++}; export CXX
+ THE_COMP="`$CC -v | fgrep -i ver`" # works with icc and gcc at least
;;
QNX)
@@ -358,12 +358,4 @@
if test $release -eq 1
then
- if test "$RELEASE_CFLAGS" = ""
- then
- case $CC in
- gcc|*/gcc|*-gcc-*|*/*-gcc-*)
- RELEASE_CFLAGS=-O3
- ;;
- esac
- fi
if test "$RELEASE_CFLAGS" != ""
then