svn commit: r356182 - head/lang/dmd2

Cy Schubert cy at FreeBSD.org
Sun Jun 1 22:02:55 UTC 2014


Author: cy
Date: Sun Jun  1 22:02:54 2014
New Revision: 356182
URL: http://svnweb.freebsd.org/changeset/ports/356182
QAT: https://qat.redports.org/buildarchive/r356182/

Log:
  Specify defaults for amd64. This resolves an object.d not found error.

Modified:
  head/lang/dmd2/Makefile

Modified: head/lang/dmd2/Makefile
==============================================================================
--- head/lang/dmd2/Makefile	Sun Jun  1 21:51:52 2014	(r356181)
+++ head/lang/dmd2/Makefile	Sun Jun  1 22:02:54 2014	(r356182)
@@ -59,11 +59,13 @@ post-patch:
 			  -e "s|\\\BR|.BR|"		\
 		${WRKDIR}/dmd2/man/man1/dmd.1		\
 		${WRKDIR}/dmd2/man/man5/dmd.conf.5
-	@${REINPLACE_CMD} -e 's|"/etc/"|"${PREFIX}/etc/"|' ${WRKSRC}/inifile.c
+	@${REINPLACE_CMD} -e '/^SYSCONFDIR=/s|/etc/|${PREFIX}/etc/|' ${WRKSRC}/posix.mak
 	@${REINPLACE_CMD} -e "s|%@P%/../../src/phobos|${MODULEDIR}|"	\
 			  -e "s|%@P%/../lib|${PREFIX}/lib|"		\
 			  -e "s|%@P%/../../src/druntime|${PREFIX}/include/d/druntime|"	\
 			  ${WRKDIR}/dmd2/linux/bin32/dmd.conf
+	@${ECHO_CMD} >> ${WRKDIR}/dmd2/linux/bin32/dmd.conf
+	@${SED} -e "s|Environment32|Environment64|" ${WRKDIR}/dmd2/linux/bin32/dmd.conf >>${WRKDIR}/dmd2/linux/bin32/dmd.conf
 
 post-build:
 	cd ${WRKSRC}/../druntime && \


More information about the svn-ports-head mailing list