Package: libsdl-mixer1.2
Version: 1.2.6-2

SDL-mixer fails to build after fakeroot debian/rules clean. It 
seems that a past maintainer was over-zealous in his/her cleaning 
efforts, and set up SDL-mixer to clean a necessary file. This 
results in only being able to build SDL-mixer once, then you either 
have to redo apt-get source, or figure out where the file is, and 
replace it; every single compile. The essential file that gets 
deleted is acinclude.m4

Notice, in the patch, that I added *cdbs-config_list to the list of 
files to clean. I've noticed that removing these files is not 
strictly necesary, but they are not in the original archive, and 
will not get cleaned otherwise.

Using this rules file, the only difference between a pure 
debianized archive, and one after debian/rules clean, is that 
SDL_mixer.spec gets cleaned out, even though it is in the original 
archive. It doesn't appear to be necessary for building, though.



Get your free encrypted email at http://www.cyber-rights.net
--- ../../clean-sdl-mixer1.2-1.2.6/debian/rules 2007-05-01 20:03:24.000000000 
-0700
+++ ./rules     2007-05-05 10:24:18.000000000 -0700
@@ -9,7 +9,7 @@
 DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-Bsymbolic -Wl,--as-needed"
 
 clean::
-       rm -rf acinclude.m4 autom4te.cache
+       rm -rf *cdbs-config_list autom4te.cache
 
 UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
 UPSTREAM_DIR ?= SDL_mixer-$(UPSTREAM_VERSION)

Reply via email to