autogen/autogen-build_ldpath.patch
Andreas Schwab 9ff2051de9 Accepting request 643730 from home:Andreas_Schwab:Factory
- Update to version 5.8.16
  - Enable compiling with Guile 2.2
- autogen-guile-2.2.patch: removed
- installable-programs.patch: don't make programs uninstallable
- Rediff remaining patches

OBS-URL: https://build.opensuse.org/request/show/643730
OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=64
2018-10-22 13:47:14 +00:00

23 lines
818 B
Diff

---
autoopts/Makefile.am | 2 +-
doc/mk-agen-texi.sh | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Index: autogen-5.18.16/doc/mk-agen-texi.sh
===================================================================
--- autogen-5.18.16.orig/doc/mk-agen-texi.sh
+++ autogen-5.18.16/doc/mk-agen-texi.sh
@@ -98,9 +98,9 @@ setup_exports()
PATH=${top_builddir}/columns:${PATH}
timer=`expr ${AG_TIMEOUT} '*' 5`
- d=`find ${top_builddir}/autoopts -type f -name libopts.a -print`
- test -f "$d" || die "Cannot locate libopts.a"
- LIBS="$d ${LIBS}"
+ d=`find ${top_builddir}/autoopts -type f -name libopts.a -o -name libopts.so | head -n 1`
+ LIBS="-L$(dirname "$d") -lopts ${LIBS}"
+ LD_LIBRARY_PATH="$(dirname "$d"):$LD_LIBRARY_PATH"
eval `${EGREP} '^AG_[A-Z_]*' ${top_srcdir}/VERSION`