Package: libelf
Severity: minor
Tags: patch

--- libelf-0.8.5/debian/rules   2006-03-21 11:50:01.000000000 +0100
+++ libelf-0.8.5-1.1/debian/rules       2006-03-21 12:19:18.000000000 +0100
@@ -26,7 +26,8 @@
 build: $(DOBUILDCOMPAT)
        $(checkdir)
        -[ -f build-libc5 ] && ( rm -f build-libc5 ; make distclean ) 
-       -[ -f Makefile ] || ./configure --prefix=/usr --enable-shared
+       -[ -f Makefile ] || ./configure --prefix=/usr --enable-shared\
+                               --host=$(DEB_HOST_GNU_TYPE)
 # Stripping works for the libraries, so compile with debugging.
        make CFLAGS="$(CFLAGS)" \
          LINK_SHLIB='gcc -shared -Wl,-soname,libelf.so.$(MAJOR) -lc'
@@ -57,7 +58,7 @@
        cd lib && make install-shared PACKAGE=libelf VERSION=$(version) \
             prefix=`pwd`/../debian/tmp-shd/usr
 # This link goes in libelf-dev, not libelf.
-       rm debian/tmp-shd/usr/lib/libelf.so
+       -rm debian/tmp-shd/usr/lib/libelf.so
 # Kludge to stick locale files into shared package.
        cd po && make install prefix=`pwd`/../debian/tmp-shd/usr
        strip --remove-section=.comment --remove-section=.note --strip-unneeded 
debian/tmp-shd/usr/lib/*
--- libelf-0.8.5/lib/Makefile.in        2003-12-05 16:36:00.000000000 +0100
+++ libelf-0.8.5-1.1/lib/Makefile.in    2006-03-21 12:32:00.000000000 +0100
@@ -44,12 +44,12 @@
 DEPSHLIBS = @DEPSHLIBS@
 
 DO_SHLIB = @DO_SHLIB@
-PICFLAGS = @PICFLAGS@
-SHLIB_SFX = @SHLIB_SFX@
-SHLINK_SFX = @SHLINK_SFX@
-SONAME_SFX = @SONAME_SFX@
-LINK_SHLIB = @LINK_SHLIB@
-INSTALL_SHLIB = @INSTALL_SHLIB@
+PICFLAGS = -fPIC
+SHLIB_SFX = .so.$(VERSION)
+SHLINK_SFX = .so.$(word 1,$(subst ., ,$(VERSION))).$(word 2,$(subst ., 
,$(VERSION)))
+SONAME_SFX = .so.$(MAJOR)
+LINK_SHLIB = $(CC) -shared
+INSTALL_SHLIB = @INSTALL_PROGRAM@
 
 SHLIB = libelf$(SHLIB_SFX)
 SHLINK = libelf$(SHLINK_SFX)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to