discount/discount-disable_ldconfig.patch
Martin Pluskal 1ac1163813 Accepting request 393189 from home:pluskalm:branches:Publishing
- Update to 2.2.0
  * no changelog provided
- Build with optflags
- Refresh discount-disable_ldconfig.patch

OBS-URL: https://build.opensuse.org/request/show/393189
OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=9
2016-05-02 19:15:25 +00:00

21 lines
684 B
Diff

Index: configure.inc
===================================================================
--- configure.inc.orig
+++ configure.inc
@@ -1297,7 +1297,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
@@ -1332,7 +1331,6 @@ install)$PROG_INSTALL -c \$FULLNAME "\$1
$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