discount/discount-disable_ldconfig.patch
Martin Pluskal ebddb6956d - Update to version 2.2.2:
* No changelog provided
- Refresh patches:
  * discount-disable_ldconfig.patch
  * discount-fix-compile-warings.diff

OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=13
2017-02-09 16:16:58 +00:00

21 lines
692 B
Diff

Index: configure.inc
===================================================================
--- configure.inc.orig
+++ configure.inc
@@ -1337,7 +1337,6 @@ __AC_ELF_LIBRARIAN() {
if $AC_CC $_VFLAGS -o ngc$$.so ngc$$.c; then
USE_SONAME=T
fi
- LDCONFIG=`AC_PATH=/sbin:/usr/sbin:/usr/local/sbin acLookFor ldconfig`
__config_files="$__config_files librarian.sh"
cat > librarian.sh << EOF
#! /bin/sh
@@ -1372,7 +1371,6 @@ install)$PROG_INSTALL -c "\$FULLNAME" "\
$PROG_LN_S -f "\$FULLNAME" "\$1/\$LIBNAME.\$MAJOR"
$PROG_LN_S -f "\$FULLNAME" "\$1/\$LIBNAME"
EOF
- test "$LDCONFIG" && echo ' '$LDCONFIG '"$1"' >> librarian.sh
cat >> librarian.sh << EOF
;;
esac