File: 01_klibtool_ldconfig.dpatch

package info (click to toggle)
dvipsk-ja 5.94a%2Bjp1.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,824 kB
  • ctags: 4,012
  • sloc: ansic: 37,736; sh: 7,192; makefile: 620; perl: 365; csh: 47; awk: 35
file content (32 lines) | stat: -rw-r--r-- 954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/sh -e
## 01_klibtool_ldconfig.dpatch by Masayuki Hatta <mhatta@debian.org>
##
## All lines beginning with \`## DP:' are a description of the patch.
## DP: Remove ldconfig line from klibtool

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
        -patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0
;;
        -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
                exit 1;;
esac

exit 0

--- klibtool.orig	2002-11-11 18:43:05.000000000 +0900
+++ klibtool	2003-03-07 22:53:42.000000000 +0900
@@ -268,7 +268,7 @@
     case $host_type in
       *-*-linux*)
         shared_support=true
-        SHARED_postinstall='ldconfig $libdir'
+        SHARED_postinstall=''
         ;;
         
       *-*-solaris2*)