diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /math/blitz++/patches | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'math/blitz++/patches')
-rw-r--r-- | math/blitz++/patches/patch-ad | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/math/blitz++/patches/patch-ad b/math/blitz++/patches/patch-ad new file mode 100644 index 00000000000..fd5b0ca611a --- /dev/null +++ b/math/blitz++/patches/patch-ad @@ -0,0 +1,32 @@ +$NetBSD: patch-ad,v 1.3 2008/06/20 01:10:02 joerg Exp $ + +--- doc/doxygen/Makefile.in.orig 2008-06-19 15:41:31.000000000 +0000 ++++ doc/doxygen/Makefile.in +@@ -474,22 +474,22 @@ clean-local: + + # Install hooks + make-install-dirs: +- @if test '!' -d $(docdir) ; \ +- then mkdir -p $(docdir) ; \ ++ @if test '!' -d ${DESTDIR}$(docdir) ; \ ++ then mkdir -p ${DESTDIR}$(docdir) ; \ + fi + + install-data-hook: make-install-dirs + @if test -d html; then \ + echo Installing documentations into $(docdir) ; \ +- $(INSTALL_DATA) html/* $(docdir) ; \ ++ $(INSTALL_DATA) html/* ${DESTDIR}$(docdir) ; \ + fi + @if test -f $(PACKAGE).pdf; then \ + echo Installing PDF manual into $(docdir) ; \ +- $(INSTALL_DATA) $(PACKAGE).pdf $(docdir) ; \ ++ $(INSTALL_DATA) $(PACKAGE).pdf ${DESTDIR}$(docdir) ; \ + fi + @if test -f $(PACKAGE).ps; then \ + echo Installing PS manual into $(docdir) ; \ +- $(INSTALL_DATA) $(PACKAGE).ps $(docdir) ; \ ++ $(INSTALL_DATA) $(PACKAGE).ps ${DESTDIR}$(docdir) ; \ + fi + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. |