Package: sg3-utils
Version: 1.24-1
Severity: normal
Tags: patch
The upstream Makefile passes paths like //usr/lib to libtool which
causes libtool to think it needs to add rpath info to the generated files.
I see you worked around that by deleting them after the fact.
However, the path //usr/lib also ends up in the .la file and this causes other
files built against this library into also getting rpaths. So fixing the
disease instead of the symptom would be really preferable. Luckily the fix is
easy:
--- sg3-utils-1.24/debian/rules
+++ sg3-utils-1.24/debian/rules
@@ -48,7 +48,6 @@
# Add here commands to install the package into debian/tmp
$(MAKE) -e install DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr
- find debian/tmp/usr/bin debian/tmp/usr/lib -type f -exec chrpath -d {}
\;
dh_install --autodest --sourcedir=debian/tmp
cp scripts/scsi* scripts/sas* debian/sg3-utils/usr/bin
--- sg3-utils-1.24.orig/Makefile
+++ sg3-utils-1.24/Makefile
@@ -1,10 +1,10 @@
SHELL = /bin/sh
PREFIX=/usr/local
-LIBDIR=$(DESTDIR)/$(PREFIX)/lib
-INSTDIR=$(DESTDIR)/$(PREFIX)/bin
-MANDIR=$(DESTDIR)/$(PREFIX)/share/man
-INCLUDEDIR=$(DESTDIR)/$(PREFIX)/include
+LIBDIR=$(DESTDIR)$(PREFIX)/lib
+INSTDIR=$(DESTDIR)$(PREFIX)/bin
+MANDIR=$(DESTDIR)$(PREFIX)/share/man
+INCLUDEDIR=$(DESTDIR)$(PREFIX)/include
CC = gcc
LD = gcc
Gruesse,
Frank
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (900, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sg3-utils depends on:
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libsgutils1 1.24-1 Utilities for working with generic
sg3-utils recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]