pkg://QuantLib-0.3.10-1.fc3.src.rpm:1521451/QuantLib-0.3.8-installdatahookfix.patch
info downloads
--- QuantLib-0.3.8/ql/Makefile.am.BAD 2005-04-02 09:55:10.000000000 -0600
+++ QuantLib-0.3.8/ql/Makefile.am 2005-04-02 09:55:17.000000000 -0600
@@ -81,7 +81,7 @@
$(SED) -e "s,HAVE_CONFIG_H,QL_HAVE_CONFIG_H," \
-e "s,/\* install-hook \*/,#define QL_HAVE_CONFIG_H," \
- $(includedir)/qldefines.hpp > .qldefines.hpp
+ $(DESTDIR)$(includedir)/qldefines.hpp > .qldefines.hpp
- $(INSTALL_DATA) .qldefines.hpp $(includedir)/qldefines.hpp
+ $(INSTALL_DATA) .qldefines.hpp $(DESTDIR)$(includedir)/qldefines.hpp
rm .qldefines.hpp
depend:
makedepend $(INCLUDES) -- $(CFLAGS) -- $(SOURCES)
--- QuantLib-0.3.8/ql/Makefile.in.BAD 2005-04-02 09:54:09.000000000 -0600
+++ QuantLib-0.3.8/ql/Makefile.in 2005-04-02 09:54:26.000000000 -0600
@@ -757,7 +757,7 @@
$(SED) -e "s,HAVE_CONFIG_H,QL_HAVE_CONFIG_H," \
-e "s,/\* install-hook \*/,#define QL_HAVE_CONFIG_H," \
- $(includedir)/qldefines.hpp > .qldefines.hpp
+ $(DESTDIR)$(includedir)/qldefines.hpp > .qldefines.hpp
- $(INSTALL_DATA) .qldefines.hpp $(includedir)/qldefines.hpp
+ $(INSTALL_DATA) .qldefines.hpp $(DESTDIR)$(includedir)/qldefines.hpp
rm .qldefines.hpp
depend:
makedepend $(INCLUDES) -- $(CFLAGS) -- $(SOURCES)