01f63fdbb2
* 02_hurd_stub_backend.patch: re-add an implementation of the stub backend, for the Hurd. Closes: #557446. * 03_kfreebsd_installdirs.patch: patch to install binaries in libexecdir so that we can version the installation directory. Also use DESTDIR in the installation hooks. * Rename 90_autoconf.patch to 90_autotools.patch, re-run all the autotools on top of that. * Pass a versioned libexecdir to the configure arguments. * Install the server binary on kfreebsd. * Exclude it from dh_fixperms.
33 lines
949 B
Diff
33 lines
949 B
Diff
Index: libgtop-2.28.0/ltmain.sh
|
|
===================================================================
|
|
--- libgtop-2.28.0.orig/ltmain.sh 2009-09-21 09:54:29.000000000 +0200
|
|
+++ libgtop-2.28.0/ltmain.sh 2009-11-22 17:17:07.677688108 +0100
|
|
@@ -4716,6 +4716,11 @@ func_mode_link ()
|
|
arg=$func_stripname_result
|
|
;;
|
|
|
|
+ -Wl,--as-needed)
|
|
+ deplibs="$deplibs $arg"
|
|
+ continue
|
|
+ ;;
|
|
+
|
|
-Wl,*)
|
|
func_stripname '-Wl,' '' "$arg"
|
|
args=$func_stripname_result
|
|
@@ -5070,6 +5075,15 @@ func_mode_link ()
|
|
lib=
|
|
found=no
|
|
case $deplib in
|
|
+ -Wl,--as-needed)
|
|
+ if test "$linkmode,$pass" = "prog,link"; then
|
|
+ compile_deplibs="$deplib $compile_deplibs"
|
|
+ finalize_deplibs="$deplib $finalize_deplibs"
|
|
+ else
|
|
+ deplibs="$deplib $deplibs"
|
|
+ fi
|
|
+ continue
|
|
+ ;;
|
|
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
|
if test "$linkmode,$pass" = "prog,link"; then
|
|
compile_deplibs="$deplib $compile_deplibs"
|