Files
guru/sci-physics/mbdyn/files/mbdyn-respect-libtool.patch
Alessandro Barbieri d00e6e81d3 sci-physics/mbdyn: new package
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-03 20:30:43 +02:00

15 lines
625 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -1653,9 +1653,9 @@
AC_DEFINE(HAVE_LTDL_H,1,[define if you have <ltdl.h>])
AC_CHECK_LIB(ltdl, lt_dlinit,[have_lt_dlinit=yes],[have_lt_dlinit=no])
if test $have_lt_dlinit = "yes" ; then
- eval `libtool --tag=CC --config|grep '^wl='`
+ eval `$LIBTOOL --tag=CC --config|grep '^wl='`
LIBS="$LIBS -lltdl"
- EXPORT_DYNAMIC_FLAG_SPEC=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+ EXPORT_DYNAMIC_FLAG_SPEC=`($LIBTOOL --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
have_runtime_loading=yes
MODULE_LOADPATH=$libexecdir
fi