Make the port bento-safe.

Submitted by:	bento
This commit is contained in:
Maxim Sobolev 2000-06-02 10:42:25 +00:00
parent 25eb63ff48
commit 40c2d2d610
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29097

View file

@ -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}|" \