Date: Mon, 25 Jul 2005 10:13:01 GMT From: Masanori OZAWA <ozawa@ongs.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/84046: [PATCH] lang/gdc: The default include path was corrected. Message-ID: <200507251013.j6PAD1G9070734@www.freebsd.org> Resent-Message-ID: <200507251020.j6PAKI3h015098@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84046 >Category: ports >Synopsis: [PATCH] lang/gdc: The default include path was corrected. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 25 10:20:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Masanori OZAWA >Release: FreeBSD 5.4-RELEASE-p5 >Organization: ONGS Inc. >Environment: FreeBSD mithos.ongs.co.jp 5.4-RELEASE-p5 FreeBSD 5.4-RELEASE-p5 #1: Thu Jul 21 00:13:11 JST 2005 root@mithos.ongs.co.jp:/usr/obj/usr/src/sys/MITHOS i386 >Description: - The default include path was corrected. >How-To-Repeat: # gdc hoge.d object.d: module object cannot read file 'object.d' >Fix: diff -u gdc.orig/Makefile gdc/Makefile --- gdc.orig/Makefile Fri Jul 22 12:11:39 2005 +++ gdc/Makefile Mon Jul 25 18:57:44 2005 @@ -7,6 +7,7 @@ PORTNAME= gdc PORTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GCC} \ http://home.earthlink.net/~dvdfrdmn/d/:gdc @@ -45,11 +46,12 @@ .endif GXX_INC=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${__GCC_VERSION}/include/c++/ +GDC_INC=${PREFIX}/include/d/${__GCC_VERSION} CONFIGURE_ARGS+=--disable-nls --with-system-zlib \ --with-libiconv-prefix=${LOCALBASE} \ --with-gxx-include-dir=${GXX_INC} \ --disable-shared --prefix=${PREFIX} \ - --enable-languages=c,d,c++ + --enable-languages=c,c++,d MAKE_ARGS+= MAKEINFOFLAGS="--no-split" GNU_CONFIGURE= yes PLIST_SUB= __GCC_VER=${__GCC_VERSION} CONF_TARGET=${CONFIGURE_TARGET} @@ -82,6 +84,9 @@ @${REINPLACE_CMD} -e \ 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${GCCDIR}/version.c + @${REINPLACE_CMD} -e \ + '/^gcc_d_include_dir/s|^.*$$|gcc_d_include_dir = ${GDC_INC}|' \ + ${GCCDIR}/d/Make-lang.in post-build: .ifdef WITH_UNITTEST >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507251013.j6PAD1G9070734>