From owner-svn-ports-all@freebsd.org Wed Dec 23 19:25:49 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64F82A50671; Wed, 23 Dec 2015 19:25:49 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3474D106E; Wed, 23 Dec 2015 19:25:49 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBNJPm42045985; Wed, 23 Dec 2015 19:25:48 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBNJPm5b045984; Wed, 23 Dec 2015 19:25:48 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201512231925.tBNJPm5b045984@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Wed, 23 Dec 2015 19:25:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404315 - head/lang/dmd2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 19:25:49 -0000 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" \