81 lines
3.3 KiB
Diff
81 lines
3.3 KiB
Diff
--- singular-4.3.1/configure.ac.orig 2022-07-06 03:32:37.000000000 -0600
|
|
+++ singular-4.3.1/configure.ac 2022-09-20 17:37:34.607028620 -0600
|
|
@@ -346,4 +346,10 @@ AC_ARG_ENABLE([doc-build],
|
|
])
|
|
AM_CONDITIONAL([ENABLE_DOC_BUILD], [test "$enable_doc_build" = yes])
|
|
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|
|
--- singular-4.3.1/factory/configure.ac.orig 2022-07-06 08:34:13.000000000 -0600
|
|
+++ singular-4.3.1/factory/configure.ac 2022-09-20 17:37:34.607028620 -0600
|
|
@@ -411,5 +411,11 @@ AC_DEFINE_UNQUOTED([FACTORYCONFIGURATION
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile include/factory/Makefile factory.pc]) # ftest/GNUmakefile
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|
|
|
|
--- singular-4.3.1/gfanlib/configure.ac.orig 2022-07-06 08:34:13.000000000 -0600
|
|
+++ singular-4.3.1/gfanlib/configure.ac 2022-09-20 17:37:34.607028620 -0600
|
|
@@ -48,4 +48,10 @@ AC_LANG_POP()
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
## AC_CONFIG_HEADERS([config.h])
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|
|
--- singular-4.3.1/libpolys/configure.ac.orig 2022-07-06 08:34:13.000000000 -0600
|
|
+++ singular-4.3.1/libpolys/configure.ac 2022-09-20 17:37:34.607028620 -0600
|
|
@@ -166,4 +166,10 @@ AC_CONFIG_FILES([polys/Makefile])
|
|
AC_CONFIG_FILES([tests/Makefile])
|
|
AC_CONFIG_FILES([libpolys-config], [chmod +x libpolys-config])
|
|
AC_CONFIG_FILES([libpolys.pc])
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|
|
--- singular-4.3.1/omalloc/configure.ac.orig 2022-07-06 08:34:13.000000000 -0600
|
|
+++ singular-4.3.1/omalloc/configure.ac 2022-09-20 17:37:34.608028622 -0600
|
|
@@ -607,5 +607,11 @@ dnl llllllllllllllllllllllllllllllllllll
|
|
dnl wrap it up
|
|
dnl
|
|
AC_CONFIG_FILES([Makefile omalloc.pc])
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|
|
|
|
--- singular-4.3.1/resources/configure.ac.orig 2022-07-06 08:34:13.000000000 -0600
|
|
+++ singular-4.3.1/resources/configure.ac 2022-09-20 17:37:34.608028622 -0600
|
|
@@ -78,4 +78,10 @@ AX_COMPUTE_RELATIVE_PATHS([config_datadi
|
|
AC_DEFINE_UNQUOTED([DATA_TO_HTML_DIR],"%D/$data_to_html",[htmldir])
|
|
|
|
AC_CONFIG_FILES([singular_resources.pc Makefile])
|
|
+AC_CONFIG_COMMANDS([norpath], [
|
|
+sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
+ -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \
|
|
+ -i libtool
|
|
+])
|
|
AC_OUTPUT
|