Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 12:43:12 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415437 - head/lang/mosml
Message-ID:  <201605181243.u4IChCZt073853@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605181243.u4IChCZt073853>