1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/math/sage/files/patch-build_pkgs_iml_spkg-install
Stephen Montgomery-Smith 8a80f53a2f - Update to 6.4.
2014-12-07 16:01:20 +00:00

21 lines
565 B
Plaintext

--- build/pkgs/iml/spkg-install-orig 2014-12-06 21:45:54.000000000 +0000
+++ build/pkgs/iml/spkg-install 2014-12-06 21:50:08.000000000 +0000
@@ -18,6 +18,7 @@
fi
done
+export CFLAGS="-I${LOCALBASE}/include $CFLAGS"
if [ "$SAGE_DEBUG" = "yes" ]; then
echo "Building a debug version of IML."
@@ -38,6 +39,9 @@
EXTRA_BLAS="--with-cblas=-lcblas"
fi
+aclocal
+automake --add-missing
+autoconf
./configure --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib" \
--enable-shared --with-default="$SAGE_LOCAL" "$EXTRA_BLAS"
if [ $? -ne 0 ]; then