Package: amule
Version: 2.2.1-1+b1
Severity: normal

The amule package build system does not seem to allow building with debugging
symbols using the DEB_BUILD_OPTIONS=nostrip trick.

Maybe the following would help :

--- amule-2.2.1/debian/rules    2009-05-14 08:45:50.000000000 +0000
+++ amule-2.2.1.new/debian/rules        2009-05-14 08:47:39.000000000 +0000
@@ -7,7 +7,7 @@
 # Configure arguments

 confflags = --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info \
-           --disable-dependency-tracking --disable-ccache --disable-debug     \
+           --disable-dependency-tracking --disable-ccache              \
            --enable-amule-daemon --enable-amulecmd --enable-ed2k 
--enable-webserver    \
            --enable-amule-gui --enable-cas --enable-wxcas --enable-alc 
--enable-alcc   \
            --disable-embedded-crypto --enable-geoip --enable-upnp 
--with-denoise-level=0
@@ -22,6 +22,13 @@
     confflags += --host $(DEB_HOST_GNU_TYPE)
 endif

+# Enable debug with nostrip
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+    confflags += --enable-debug
+else
+    confflags += --disable-debug
+endif
+
 ###

 # Directory to make the build on


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to