Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 73d80b272e266e0f4b4c055de9ea785d > files > 12

w3c-libwww-5.4.1-0.20061204.13.mga6.src.rpm

fix libwwwapp dependencies

When letting automake compute _DEPENDENCIES for us, it's dropping all
configure-related variables (like WWWXML). There are only 2 exceptions
and are not what we're looking for here.
The fix is to supply ourselves the _DEPENDENCIES with the configure
variables are they're not going to be killed.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Index: w3c-libwww-5.4.1/Library/src/Makefile.am
===================================================================
--- w3c-libwww-5.4.1.orig/Library/src/Makefile.am
+++ w3c-libwww-5.4.1/Library/src/Makefile.am
@@ -324,6 +324,11 @@ libwwwdir_la_SOURCES = \
 libwwwapp_la_LIBADD = libwwwdir.la libwwwmime.la libwwwgopher.la \
 		      libwwwhttp.la libwwwtelnet.la libwwwnews.la libwwwftp.la \
 		      @WWWXML@ @WWWZIP@
+# automake will drop WWWXML and WWWZIP variables making wrong build dependencies
+# so we have to supply them like this
+libwwwapp_la_DEPENDENCIES = libwwwdir.la libwwwmime.la libwwwgopher.la \
+		      libwwwhttp.la libwwwtelnet.la libwwwnews.la libwwwftp.la \
+		      @WWWXML@ @WWWZIP@
 libwwwapp_la_SOURCES = \
 	WWWApp.h \
 	HTAccess.h \