aboutsummaryrefslogtreecommitdiff
path: root/lang/mosml
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2016-05-18 12:43:12 +0000
committerJohan van Selst <johans@FreeBSD.org>2016-05-18 12:43:12 +0000
commit0a10f65db4a88a695e658bcd2d85cef87fde05ad (patch)
tree10b020b05ce59ef5c1cc02e5de85819a5cd5a27e /lang/mosml
parent6ffe695fe91c3bd1b1899deb0883a0e5b2c57f20 (diff)
downloadports-0a10f65db4a88a695e658bcd2d85cef87fde05ad.tar.gz
ports-0a10f65db4a88a695e658bcd2d85cef87fde05ad.zip
Cleaner patch to honour $CC (no functional change)
Reported by: bapt
Notes
Notes: svn path=/head/; revision=415437
Diffstat (limited to 'lang/mosml')
-rw-r--r--lang/mosml/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/mosml/Makefile b/lang/mosml/Makefile
index e3ffa7b267ef..959bac4ac342 100644
--- a/lang/mosml/Makefile
+++ b/lang/mosml/Makefile
@@ -22,6 +22,7 @@ RESTRICTED= Restrictions on for-profit distribution
USES= compiler:features gmake perl5
ALL_TARGET= world
MAKE_ARGS= ADDRUNLIBS= \
+ CC="${CC}" \
CPP="${CPP} -P -traditional -Dunix -Umsdos" \
DOCSDIR="${DOCSDIR}" \
DYNLD="${CC} -shared" \
@@ -36,7 +37,6 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
post-patch:
- ${REINPLACE_CMD} -e '/^CC=/s/^/#/' ${WRKSRC}/Makefile.inc
${REINPLACE_CMD} 's/make /$$(MAKE) /' ${WRKSRC}/doc/Makefile \
${WRKSRC}/doc/helpsigs/Makefile