svn commit: r303838 - head/lang/ezm3

Xin LI delphij at FreeBSD.org
Fri Sep 7 23:17:10 UTC 2012


Author: delphij
Date: Fri Sep  7 23:17:09 2012
New Revision: 303838
URL: http://svn.freebsd.org/changeset/ports/303838

Log:
  Unbreak for recent FreeBSD versions by zapping out malloc.c, which is no
  longer needed in modern FreeBSD versions.
  
  PORTREVISION intentionally not bumped.

Modified:
  head/lang/ezm3/Makefile

Modified: head/lang/ezm3/Makefile
==============================================================================
--- head/lang/ezm3/Makefile	Fri Sep  7 23:13:42 2012	(r303837)
+++ head/lang/ezm3/Makefile	Fri Sep  7 23:17:09 2012	(r303838)
@@ -83,6 +83,9 @@ pre-patch:
 	@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${WRKDIR}/${f}
 .endfor
 .endif
+.if ${OSVERSION} >= 1000012
+	@${FIND} ${WRKSRC} -name 'malloc.c' -exec truncate -s 0 {} +
+.endif
 
 do-build:
 	@${ECHO_MSG} "This port does everything in the install step."



More information about the svn-ports-head mailing list