freebsd-ports/lang/cli/files/patch-env.sh
Maxim Sobolev 062cd21bb1 Upgrade to 20021101 release (aka 1.0), which fixes compilation on
recent FreeBSD versions and allows to remove all of the gcc 3.x
fixes. sscli now supports Darwin/ppc, so that it might be possible
to port it to FreeBSD/ppc once it is available.
2003-04-24 11:17:57 +00:00

30 lines
713 B
Bash

$FreeBSD$
--- env.sh.orig Sat Nov 2 04:21:57 2002
+++ env.sh Fri Apr 25 10:16:50 2003
@@ -188,7 +188,15 @@
CSC_COMPILE_FLAGS="${CSC_COMPILE_FLAGS} /d:FEATURE_CASE_SENSITIVE_FILESYSTEM"
fi
-if test X"$1" = "Xfree"
+if test X"$1" = "Xretail"
+then
+echo "Retail Environment"
+ DDKBUILDENV=free
+ C_DEFINES="${C_DEFINES} -DNTMAKEENV -DNDEBUG -DPERF_TRACKING"
+ BUILD_ALT_DIR=r
+ TARGETCOMPLUS="${ROTOR_DIR}/build/v1.x86fre.rotor"
+ NTDEBUG=retail
+else if test X"$1" = "Xfree"
then
echo "Free Environment"
DDKBUILDENV=free
@@ -213,6 +221,7 @@
BUILD_ALT_DIR=df
TARGETCOMPLUS="${ROTOR_DIR}/build/v1.${PROCESSOR_ARCHITECTURE}fstchk.rotor"
NTDEBUG=ntsd
+fi
fi
fi