aboutsummaryrefslogtreecommitdiff
path: root/lang/chicken/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/chicken/Makefile')
-rw-r--r--lang/chicken/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/chicken/Makefile b/lang/chicken/Makefile
index ba0f344f700d..d77bc20c9002 100644
--- a/lang/chicken/Makefile
+++ b/lang/chicken/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://code.call-cc.org/releases/${PORTVERSION}/
MAINTAINER= vmagerya@gmail.com
COMMENT= A Scheme-to-C compiler
-MAKE_JOBS_UNSAFE= yes
+MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
@@ -37,6 +37,8 @@ MAKE_ARGS+= HACKED_APPLY=
.endif
post-patch:
+ @${REINPLACE_CMD} '/^%.so:/s|$$| lib$$(PROGRAM_PREFIX)chicken$$(PROGRAM_SUFFIX)$$(SO)|' \
+ ${WRKSRC}/rules.make
@${REINPLACE_CMD} \
's|^DOCDIR = .*$$|DOCDIR = ${DOCSDIR}|' \
${WRKSRC}/defaults.make