aboutsummaryrefslogtreecommitdiff
path: root/devel/uclmmbase/files/patch-ab
blob: 01c29b714ec320867d052b5f4e4818c040afa271 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- configure.orig	Fri Oct 15 04:31:00 1999
+++ configure	Sat Feb 19 10:37:29 2000
@@ -53,7 +53,7 @@
 
 echo "Configuring common code library v$VERSION for $OSTYPE"
 
-GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes -Werror"
+GCCWFLAGS="-W -Wall -Wbad-function-cast -Wmissing-prototypes"
 DEFS=""
 
 AR="ar"
@@ -99,13 +99,13 @@
 	    PROFILE="-pg"
 	    ECHO="echo -e"
             ;;
-  FreeBSD ) CC="gcc"
+  FreeBSD ) CC="${CC}"
             WFLAGS=$GCCWFLAGS
-	    INCLUDE="-I/usr/local/include"
+	    INCLUDE="-I${LOCALBASE}/include"
 	    LDLIBS="-lm"
 	    DEBUG="-g"
 	    CHAR="-fsigned-char"
-	    OPTIMIZE="-O4"
+	    OPTIMIZE="${OPTIMIZE}"
 	    PROFILE="-pg"
 	    ECHO=/bin/echo
             ;;