Date: Wed, 23 Dec 2015 19:25:48 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404315 - head/lang/dmd2 Message-ID: <201512231925.tBNJPm5b045984@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Dec 23 19:25:48 2015 New Revision: 404315 URL: https://svnweb.freebsd.org/changeset/ports/404315 Log: Correctly locate the config file and use the correct complier when linking. Submitted by: gahr Obtained from: https://people.freebsd.org/~gahr/lang-dmd2.diff Modified: head/lang/dmd2/Makefile Modified: head/lang/dmd2/Makefile ============================================================================== --- head/lang/dmd2/Makefile Wed Dec 23 19:11:44 2015 (r404314) +++ head/lang/dmd2/Makefile Wed Dec 23 19:25:48 2015 (r404315) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dmd -PKGNAMESUFFIX= 2 +PKGNAMESUFFIX= 3 PORTVERSION= 2.069.2 CATEGORIES= lang MASTER_SITES= http://ftp.digitalmars.com/ @@ -55,7 +55,10 @@ MAKE_ARGS+= DEBUG_FLAGS=-g\ -DDEBUG=1\ - MODULEDIR= ${PREFIX}/include/d/phobos2 post-patch: - @${REINPLACE_CMD} -e "s|g++|${CXX}|" ${WRKSRC}/posix.mak + @${REINPLACE_CMD} -e "s|g++|${CXX}|" \ + -e "s|/etc|${PREFIX}/etc|" \ + ${WRKSRC}/posix.mak + @${REINPLACE_CMD} -e "s|gcc|${CC}|" ${WRKSRC}/link.d @${REINPLACE_CMD} -e "s|cc|${CC}|" ${WRKSRC}/../phobos/posix.mak @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|" \ -e "s|\(dmd\)|\12|gI" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512231925.tBNJPm5b045984>