Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= gdc |
8 |
PORTNAME= gdc |
9 |
PORTVERSION= 0.15 |
9 |
PORTVERSION= 0.15 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= lang |
11 |
CATEGORIES= lang |
11 |
MASTER_SITES= ${MASTER_SITE_GCC} \ |
12 |
MASTER_SITES= ${MASTER_SITE_GCC} \ |
12 |
http://home.earthlink.net/~dvdfrdmn/d/:gdc |
13 |
http://home.earthlink.net/~dvdfrdmn/d/:gdc |
Lines 45-55
Link Here
|
45 |
.endif |
46 |
.endif |
46 |
|
47 |
|
47 |
GXX_INC=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${__GCC_VERSION}/include/c++/ |
48 |
GXX_INC=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${__GCC_VERSION}/include/c++/ |
|
|
49 |
GDC_INC=${PREFIX}/include/d/${__GCC_VERSION} |
48 |
CONFIGURE_ARGS+=--disable-nls --with-system-zlib \ |
50 |
CONFIGURE_ARGS+=--disable-nls --with-system-zlib \ |
49 |
--with-libiconv-prefix=${LOCALBASE} \ |
51 |
--with-libiconv-prefix=${LOCALBASE} \ |
50 |
--with-gxx-include-dir=${GXX_INC} \ |
52 |
--with-gxx-include-dir=${GXX_INC} \ |
51 |
--disable-shared --prefix=${PREFIX} \ |
53 |
--disable-shared --prefix=${PREFIX} \ |
52 |
--enable-languages=c,d,c++ |
54 |
--enable-languages=c,c++,d |
53 |
MAKE_ARGS+= MAKEINFOFLAGS="--no-split" |
55 |
MAKE_ARGS+= MAKEINFOFLAGS="--no-split" |
54 |
GNU_CONFIGURE= yes |
56 |
GNU_CONFIGURE= yes |
55 |
PLIST_SUB= __GCC_VER=${__GCC_VERSION} CONF_TARGET=${CONFIGURE_TARGET} |
57 |
PLIST_SUB= __GCC_VER=${__GCC_VERSION} CONF_TARGET=${CONFIGURE_TARGET} |
Lines 82-87
Link Here
|
82 |
@${REINPLACE_CMD} -e \ |
84 |
@${REINPLACE_CMD} -e \ |
83 |
's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ |
85 |
's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ |
84 |
${GCCDIR}/version.c |
86 |
${GCCDIR}/version.c |
|
|
87 |
@${REINPLACE_CMD} -e \ |
88 |
'/^gcc_d_include_dir/s|^.*$$|gcc_d_include_dir = ${GDC_INC}|' \ |
89 |
${GCCDIR}/d/Make-lang.in |
85 |
|
90 |
|
86 |
post-build: |
91 |
post-build: |
87 |
.ifdef WITH_UNITTEST |
92 |
.ifdef WITH_UNITTEST |