1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/science/hdf/files/patch-shared-fortran
Mikhail Teterin 02bb94332a Upgrade from 4.2r3 to 4.2.7 (this neccessitated EPOCH bump).
Unbreak, untangle. Stop fetching/installing documents (other
than man-pages) -- these are available online.

Using standard libtool instead of the bundled one fails -- an
autotools expert should take a closer look.
2012-04-21 18:07:21 +00:00

32 lines
1.2 KiB
Plaintext

--- configure.ac 2012-03-17 23:45:46.000000000 -0400
+++ configure.ac 2012-04-21 10:01:41.000000000 -0400
@@ -199,6 +199,5 @@
dnl -------------------------------------------------------------------------
dnl Build static libraries by default. Furthermore, fortran shared libraries
-dnl are unsupported. Disallow a user from enabling both shared libraries and
-dnl fortran.
+dnl are unsupported.
if test "X${enable_shared}" != "Xyes"; then
enable_shared="no"
@@ -207,5 +206,5 @@
if test "X${enable_shared}" = "Xyes"; then
if test "X${BUILD_FORTRAN}" = "Xyes"; then
- AC_MSG_ERROR([Cannot build shared fortran libraries. Please configure with --disable-fortran flag.])
+ AC_MSG_WARN([Fortran shared libraries aren't supported.])
fi
fi
--- configure 2012-03-17 23:45:51.000000000 -0400
+++ configure 2012-04-21 09:51:08.000000000 -0400
@@ -5838,11 +5838,4 @@
fi
-if test "X${enable_shared}" = "Xyes"; then
- if test "X${BUILD_FORTRAN}" = "Xyes"; then
- as_fn_error $? "Cannot build shared fortran libraries. Please configure with --disable-fortran flag." "$LINENO" 5
- fi
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
$as_echo_n "checking whether ln -s works... " >&6; }