tags 664534 - patch thanks On Sun, Mar 18, 2012 at 06:49:12PM +0100, Felix Geyer wrote: > Your package fails to build against Qt 4.8 which is currently in experimental. > The transition to unstable/testing is tracked in bug #653903.
> I'm attaching a patch that contains the necessary changes. > It can be applied even before Qt 4.8 enters unstable. > diff -u unixodbc-gui-qt-2.3.0/debian/rules unixodbc-gui-qt-2.3.0/debian/rules > --- unixodbc-gui-qt-2.3.0/debian/rules > +++ unixodbc-gui-qt-2.3.0/debian/rules > @@ -6,17 +6,20 @@ > # always force the check for undefined symbols > export LDFLAGS=-Wl,-z,defs > > +CONFIGURE = CXXFLAGS="-g -O2 -pipe" \ > + dh_auto_configure -- --with-qt_dir_include=/usr/include/qt4 \ > + --enable-static --without-pth > + > %: > dh $@ > > override_dh_auto_configure: autotools > - # remove all moc-autogenerated files, without which this won't build > - # with Qt4. > - rm -f odbcinstQ4/mC*.cpp > - # Add here commands to configure the package. > - CXXFLAGS="-g -O2 -pipe" \ > - dh_auto_configure -- --with-qt_dir_include=/usr/include/qt4 \ > - --enable-static --without-pth > + # configure and the clean to remove all moc-autogenerated files, > + # without which this won't build with Qt4. > + $(CONFIGURE) > + dh_auto_clean > + > + $(CONFIGURE) > > override_dh_auto_clean: > dh_auto_clean I find this solution unpalatable. It should not be necessary to call ./configure twice. Shouldn't a 'make clean' after ./configure be sufficient? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [email protected] [email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

