linamh/net-print/foomatic-db-engine/files/4.0.2-respect-ldflag.patch

16 lines
719 B
Diff
Raw Normal View History

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