aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-02 18:42:25 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-02 18:42:25 +0800
commit2ccf2ba1797ede930303b4da3aeb29cc4ab0e62b (patch)
treedb2b0bde3648bd143b438f4af600d87491579f73
parent0d4c458ba8109f78547cb3e2c02d2f01bd453115 (diff)
downloadfreebsd-ports-gnome-2ccf2ba1797ede930303b4da3aeb29cc4ab0e62b.tar.gz
freebsd-ports-gnome-2ccf2ba1797ede930303b4da3aeb29cc4ab0e62b.tar.zst
freebsd-ports-gnome-2ccf2ba1797ede930303b4da3aeb29cc4ab0e62b.zip
Make the port bento-safe.
Submitted by: bento
-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}|" \