Minipatch to gnome-print



gnome-print needs this patch to compile under Irix 6.5:

diff -U4 -r gnome-print-old/Makefile.am gnome-print/Makefile.am
--- gnome-print-old/Makefile.am	Fri Jul 16 10:14:30 1999
+++ gnome-print/Makefile.am	Tue Jul 27 13:35:19 1999
@@ -70,13 +70,14 @@
 	      < $(srcdir)/printConf.sh.in > printConf.tmp \
 	  && mv printConf.tmp printConf.sh
 
 gnome_font_install_SOURCES = gnome-font-install.c
-gnome_font_install_LDFLAGS =	\
+gnome_font_install_LDADD =	\
 	$(GNOME_LIBDIR)		\
 	$(GNOME_LIBS)		\
 	$(GNOME_XML_LIBDIR)	\
-	$(GNOME_XML_LIB)
+	$(GNOME_XML_LIB)	\
+	$(INTLLIBS)
 
 install-data-local: gnome-font-install
 	./gnome-font-install --system --scan --no-copy 			\
 		--afm-path=$(datadir)/fonts/afms 			\


Note that the Irix linker scans objects and libraries left-to-right
and will not link in symbols which are not needed by a previous
object on the link line: therefore any libraries must be placed
in *_LDADD (i.e. after the main objects), not in *_LDFLAGS
(before the objects).

--
Peter Wainwright
Home: prw@wainpr.demon.co.uk     Work: peter.wainwright@nrpb.org.uk
http://www.wainpr.demon.co.uk    Fax: +44-870-052-3185
Visit the Opera Exchange Homepage at http://www.treda.co.uk/opex/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]