summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-03 16:04:53 +0000
committerjoerg <joerg>2009-03-03 16:04:53 +0000
commitf127fc1825f140c70f713e306cfd6be80ea8725f (patch)
tree2871ec8ad3bd4613fe09db65a09a303f4b67181e /graphics
parent041427152154d6a1f3027fa19efefbf4c7b82c7f (diff)
downloadpkgsrc-f127fc1825f140c70f713e306cfd6be80ea8725f.tar.gz
Fix DESTDIR build.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 6ac100635bb..ece0db257ce 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2009/03/02 20:15:43 tron Exp $
+# $NetBSD: Makefile,v 1.71 2009/03/03 16:04:53 joerg Exp $
DISTNAME= graphviz-2.20.3
PKGREVISION= 2
@@ -63,8 +63,9 @@ pre-build:
# Remove temporary files and directories created by re-linking "libgv_lua.la".
post-install:
- ${RM} -rf ${PREFIX}/lib/graphviz/lua/gv.so \
- ${PREFIX}/lib/graphviz/tcl/tcl ${PREFIX}/lib/lua/5.1/gv.so
+ ${RM} -rf ${DESTDIR}${PREFIX}/lib/graphviz/lua/gv.so \
+ ${DESTDIR}${PREFIX}/lib/graphviz/tcl/tcl \
+ ${DESTDIR}${PREFIX}/lib/lua/5.1/gv.so
.include "options.mk"