diff options
author | johans <johans@FreeBSD.org> | 2016-05-18 20:43:12 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2016-05-18 20:43:12 +0800 |
commit | 04adafa87486ea416ec28651d86f0f3f7bf2fd10 (patch) | |
tree | 10b020b05ce59ef5c1cc02e5de85819a5cd5a27e /lang | |
parent | 0b22edc26ab3813819d77df3f378a870ef4df3e1 (diff) | |
download | freebsd-ports-gnome-04adafa87486ea416ec28651d86f0f3f7bf2fd10.tar.gz freebsd-ports-gnome-04adafa87486ea416ec28651d86f0f3f7bf2fd10.tar.zst freebsd-ports-gnome-04adafa87486ea416ec28651d86f0f3f7bf2fd10.zip |
Cleaner patch to honour $CC (no functional change)
Reported by: bapt
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mosml/Makefile | 2 |
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 |