4.0.7-respect-ldflag.patch 719 B

12345678910111213141516
  1. --- foomatic-db-engine-4.0.2/Makefile.in.orig 2009-07-23 11:45:28.487999828 +0200
  2. +++ foomatic-db-engine-4.0.2/Makefile.in 2009-07-23 11:45:53.939525006 +0200
  3. @@ -231,10 +231,10 @@
  4. ( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) )
  5. foomatic-combo-xml: foomatic-combo-xml.c
  6. - $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
  7. + $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
  8. foomatic-perl-data: foomatic-perl-data.c
  9. - $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS)
  10. + $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS)
  11. man: lib/Foomatic/Defaults.pm
  12. chmod a+rx ./makeMan