1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Instead of marking this port as make jobs (-jX) unsafe, apply a trivial fix

and also properly respect CC, CFLAGS, PREFIX, and LIBDIR.

Approved by:	maintainer, eadler@
Feature safe:	yes
This commit is contained in:
Alexey Dokuchaev 2011-11-16 16:07:55 +00:00
parent 0e09362bec
commit c8b3834f73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285912

View File

@ -13,14 +13,14 @@ MASTER_SITES= http://www.t3x.org/misc/
MAINTAINER= nmh@t3x.org
COMMENT= A portable Scheme interpreter with a Unix interface
MAKE_ARGS= CC=${CC} CFLAGS="${CFLAGS}" PREFIX=${PREFIX} LIBDIR=${DATADIR}
WRKSRC= ${WRKDIR}/s9
MAN1= s9.1
MANCOMPRESSED= yes
MAKE_JOBS_UNSAFE= yes
post-patch:
${REINPLACE_CMD} -e "s,PREFIX=.*,PREFIX=${PREFIX}," ${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s,LIBDIR=.*,LIBDIR=${DATADIR}," ${WRKSRC}/Makefile
# Fix parallel (-jX) build: add missing target prerequisite
@${REINPLACE_CMD} -e '/^arse-core.image/s,:,: s9,' ${WRKSRC}/Makefile
.include <bsd.port.mk>