1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/sml-nj/files/patch-ab

22 lines
657 B
Plaintext
Raw Normal View History

--- config/install.sh.orig Wed Aug 5 13:43:43 1998
+++ config/install.sh Sat Jan 29 20:46:09 2000
@@ -181,6 +181,18 @@
if [ "$?" != "0" ]; then
exit $?
1999-02-02 04:00:12 +00:00
fi
+# we need to patch just before build
+echo "applying source patches"
+patch_file="${FILESDIR}/extra-patch-global-names"
1999-02-02 04:00:12 +00:00
+if [ -f $patch_file ]; then
+ $PATCH $PATCH_ARGS < $patch_file
+fi
+if grep -w FPE_INTDIV /usr/include/machine/trap.h > /dev/null 2>&1; then
+ patch_file="${FILESDIR}/extra-patch-signals"
+ if [ -f $patch_file ]; then
+ $PATCH $PATCH_ARGS < $patch_file
+ fi
1999-02-02 04:00:12 +00:00
+fi
if [ ! -x $RUNDIR/run.$ARCH-$OPSYS ]; then
cd $SRCDIR/runtime/objs
echo "compiling the run-time system"