diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2005-06-14 08:18:46 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2005-06-14 08:18:46 +0000 |
commit | 79009801555a1b4b94e20c118c6a03458ed10ce6 (patch) | |
tree | 84e6e204d73da713ba8a7c1e8c17af3617887d88 /lang/gdc | |
parent | 7de6e46fd684d4227b85a20ed61ebf49ae6ff13d (diff) | |
download | ports-79009801555a1b4b94e20c118c6a03458ed10ce6.tar.gz ports-79009801555a1b4b94e20c118c6a03458ed10ce6.zip |
Notes
Diffstat (limited to 'lang/gdc')
-rw-r--r-- | lang/gdc/Makefile | 19 | ||||
-rw-r--r-- | lang/gdc/distinfo | 12 | ||||
-rw-r--r-- | lang/gdc/pkg-plist | 1 |
3 files changed, 24 insertions, 8 deletions
diff --git a/lang/gdc/Makefile b/lang/gdc/Makefile index 9b9113cfaee5..92e40c5110db 100644 --- a/lang/gdc/Makefile +++ b/lang/gdc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gdc -PORTVERSION= 0.12 +PORTVERSION= 0.13 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GCC} \ http://home.earthlink.net/~dvdfrdmn/d/:gdc @@ -29,7 +29,7 @@ USE_GMAKE= yes USE_REINPLACE= yes __GCC_VERSION= 3.4.5 -__GCC_REVISION= 20050524 +__GCC_REVISION= 20050607 __GCC_VERSIONSTRING= 3.4-${__GCC_REVISION} .include <bsd.port.pre.mk> @@ -63,6 +63,16 @@ CONFIGURE_ARGS+= --program-suffix=${SUFFIX} WRKSRC= ${WRKDIR}/gcc-${__GCC_VERSIONSTRING} GCCDIR= ${WRKSRC}/gcc +pre-fetch: +.ifdef WITH_UNITTEST + @echo "" + @echo "Warning:" + @echo " WITH_UNITTEST enabled." + @echo " On FreeBSD, some unit tests will fail." + @echo "" + @sleep 5 +.endif + post-extract: @${TAR} xjf ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ -C ${GCCDIR} @@ -73,6 +83,11 @@ post-patch: 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${GCCDIR}/version.c +post-build: +.ifdef WITH_UNITTEST + @cd ${WRKSRC} && ${GMAKE} check-target-libphobos +.endif + do-install: ${INSTALL_PROGRAM} -o root -g wheel -m 755 ${GCCDIR}/gdc ${PREFIX}/bin/ @${STRIP_CMD} ${PREFIX}/bin/gdc diff --git a/lang/gdc/distinfo b/lang/gdc/distinfo index 6fd6addb15be..97484580248f 100644 --- a/lang/gdc/distinfo +++ b/lang/gdc/distinfo @@ -1,6 +1,6 @@ -MD5 (gdc-0.12.tar.bz2) = fb2b62beb8fc3e24624cb8ecc18983fd -SIZE (gdc-0.12.tar.bz2) = 852688 -MD5 (gcc-core-3.4-20050524.tar.bz2) = 4c0c5e69507bc17acf9e68795cc33b5a -SIZE (gcc-core-3.4-20050524.tar.bz2) = 11096112 -MD5 (gcc-g++-3.4-20050524.tar.bz2) = 80b1f8d464e76ac3df4cdc6009e0aaaf -SIZE (gcc-g++-3.4-20050524.tar.bz2) = 2484391 +MD5 (gdc-0.13.tar.bz2) = 97b3ad6c8b1432a4a421344df2316f70 +SIZE (gdc-0.13.tar.bz2) = 859967 +MD5 (gcc-core-3.4-20050607.tar.bz2) = e20cb0339861b407f6360988a5e773aa +SIZE (gcc-core-3.4-20050607.tar.bz2) = 11100205 +MD5 (gcc-g++-3.4-20050607.tar.bz2) = e7860e747400f64bc59c66682e259ee2 +SIZE (gcc-g++-3.4-20050607.tar.bz2) = 2483917 diff --git a/lang/gdc/pkg-plist b/lang/gdc/pkg-plist index e6401bafff67..767fcee7dfb5 100644 --- a/lang/gdc/pkg-plist +++ b/lang/gdc/pkg-plist @@ -74,6 +74,7 @@ include/d/%%__GCC_VER%%/std/base64.d include/d/%%__GCC_VER%%/std/boxer.d include/d/%%__GCC_VER%%/std/compiler.d include/d/%%__GCC_VER%%/std/conv.d +include/d/%%__GCC_VER%%/std/cstream.d include/d/%%__GCC_VER%%/std/ctype.d include/d/%%__GCC_VER%%/std/date.d include/d/%%__GCC_VER%%/std/dateparse.d |