Package: kio-locate
Version: 0.4.5+ds-1
Severity: normal
Tags: patch

Hey,

lintian reports:

E: kio-locate: incorrect-libdir-in-la-file usr/lib/kde3/kio_locate.la 
/build/buildd/kio-locate-0.4.5+ds/debian/kio-locate/usr/lib/kde3 != 
/usr/lib/kde3
N: 
N:    The given .la file points to a libdir other than the path where it is
N:    installed. This can be caused by resetting prefix at make install time
N:    instead of using DESTDIR. The incorrect path will cause packages linking
N:    to this library using libtool to build incorrectly (adding incorrect
N:    paths to RPATH, for example).
N:    
N:    Severity: important, Certainty: possible
N: 

This is easily resolved by using scons’ DESTDIR option in debian/rules
instead of prepending DEB_DESTDIR to the prefix.  A patch is attached.

Cheers,
-- 
Michael Schutte <mi...@uiae.at>
--- kio-locate-0.4.5+ds/debian/rules
+++ kio-locate-0.4.5+ds/debian/rules
@@ -24,7 +24,7 @@
 common-configure-arch common-configure-indep:: common-configure-impl
 common-configure-impl:: $(CONFIG_STATUS)
 $(CONFIG_STATUS):
-	CXXFLAGS="$(CXXFLAGS)" $(SCONS_CMD) configure prefix=$(DEB_DESTDIR)$(DEB_SCONS_PREFIX) $(CONFIGFLAGS); \
+	CXXFLAGS="$(CXXFLAGS)" $(SCONS_CMD) configure prefix=$(DEB_SCONS_PREFIX) $(CONFIGFLAGS); \
 	touch $@
 
 common-build-arch common-build-indep:: common-build-impl
@@ -35,7 +35,7 @@
 
 common-install-arch common-install-indep:: common-install-impl
 common-install-impl::
-	$(SCONS_CMD) install
+	$(SCONS_CMD) install DESTDIR=$(DEB_DESTDIR)
 
 clean::
 	# workaround to "fix" a dependencies loop:

Attachment: signature.asc
Description: Digital signature

Reply via email to