svn commit: r415437 - head/lang/mosml

Johan van Selst johans at FreeBSD.org
Wed May 18 12:43:14 UTC 2016


Author: johans
Date: Wed May 18 12:43:12 2016
New Revision: 415437
URL: https://svnweb.freebsd.org/changeset/ports/415437

Log:
  Cleaner patch to honour $CC (no functional change)
  
  Reported by:	bapt

Modified:
  head/lang/mosml/Makefile

Modified: head/lang/mosml/Makefile
==============================================================================
--- head/lang/mosml/Makefile	Wed May 18 12:07:42 2016	(r415436)
+++ head/lang/mosml/Makefile	Wed May 18 12:43:12 2016	(r415437)
@@ -22,6 +22,7 @@ RESTRICTED=	Restrictions on for-profit d
 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
 


More information about the svn-ports-head mailing list