summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-02 10:42:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-02 10:42:25 +0000
commit40c2d2d610c060e7a85235c5b3d2cb707c80f333 (patch)
tree6582a14cd16a5e0cc3cc300976ac7b1ab5709118
parentAdd an option to disable fetch/install of the optional additional cardsets (1... (diff)
Make the port bento-safe.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=29097
-rw-r--r--graphics/pvmpov/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/pvmpov/Makefile b/graphics/pvmpov/Makefile
index fc610fd00ca7..f8aebfc242ea 100644
--- a/graphics/pvmpov/Makefile
+++ b/graphics/pvmpov/Makefile
@@ -26,7 +26,8 @@ BUILDBASE= ${WRKSRC}/povray31/source/pvm
PVM_ROOT= ${LOCALBASE}/lib/pvm
pre-configure:
- @ (cd ${PORTSDIR}/graphics/povray31/work && ${TAR} -c -f - povray31 ) \
+ @ (cd ${WRKDIRPREFIX}${.CURDIR}/../../graphics/povray31/work && \
+ ${TAR} -c -f - povray31 ) \
| (cd ${WRKSRC} && ${TAR} --unlink -x -f -)
@ cd ${WRKSRC} && ${PATCH} -p0 -s < pvmpov.patch
@ ${PERL} -pi -e "s|%X11BASE%|${X11BASE}| ; s|%LOCALBASE%|${LOCALBASE}|" \