aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mingw32-gcc
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2003-06-29 01:53:28 +0800
committerlev <lev@FreeBSD.org>2003-06-29 01:53:28 +0800
commit996fa869f1687c213035be243eaca7ba79659acf (patch)
tree496bcaef5467b43ad3cbba5a8967d7aca0bd74cf /devel/mingw32-gcc
parent4fed09e7dc1dfba8dd12a8d3c4e17a77700df66e (diff)
downloadfreebsd-ports-gnome-996fa869f1687c213035be243eaca7ba79659acf.tar.gz
freebsd-ports-gnome-996fa869f1687c213035be243eaca7ba79659acf.tar.zst
freebsd-ports-gnome-996fa869f1687c213035be243eaca7ba79659acf.zip
Update to latest version from www.mingw.org
Approved by: sobomax
Diffstat (limited to 'devel/mingw32-gcc')
-rw-r--r--devel/mingw32-gcc/Makefile23
-rw-r--r--devel/mingw32-gcc/distinfo12
2 files changed, 14 insertions, 21 deletions
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index d0ebd8a04258..ef7d6c33898d 100644
--- a/devel/mingw32-gcc/Makefile
+++ b/devel/mingw32-gcc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= ${GCCVERSION}.${PATCHVERSION}
+PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
@@ -16,11 +17,12 @@ DISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
${PORTNAME}-objc-${GCCVERSION}${EXTRACT_SUFX} \
${PORTNAME}-g77-${GCCVERSION}${EXTRACT_SUFX} \
${PORTNAME}-ada-${GCCVERSION}${EXTRACT_SUFX}
-DIST_SUBDIR= mingw
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
-PATCH_SITE_SUBDIR= mingw
-PATCHFILES= ${PORTNAME}-${GCCVERSION}-${PATCHVERSION:S/./-/}.src.diff.gz
+# Special hack: I don't use SITE_SUBDIR & DIST_SUBDIR, and only pathces
+# will be placed to subdirectory
+# It allows to use main gcc sources from other ports.
+PATCHFILES= mingw/${PORTNAME}-${GCCVERSION}-${PATCHVERSION:S/./-/}-src.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= lev@FreeBSD.org
@@ -30,8 +32,8 @@ BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
-GCCVERSION= 3.2
-PATCHVERSION= 20020817.1
+GCCVERSION= 3.2.3
+PATCHVERSION= 20030504.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${GCCVERSION}
@@ -53,16 +55,7 @@ MAN7= fsf-funding.7 gfdl.7 gpl.7
PLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \
GCC_REV=${GCCVERSION}
-BINARIES = gcc cpp g++ g77 gcov
-
-# May be gcc sources was downloaded for some other port?
-pre-fetch:
- for F in ${DISTFILES}; do \
- ${TEST} -f ${DISTDIR}/$${F} && \
- ${TEST} ! -f ${DISTDIR}/${DIST_SUBDIR}/$${F} && \
- ${LN} ${DISTDIR}/$${F} ${DISTDIR}/${DIST_SUBDIR}/$${F} || \
- true ;\
- done
+BINARIES= gcc cpp g++ g77 gcov
post-configure:
@${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile
diff --git a/devel/mingw32-gcc/distinfo b/devel/mingw32-gcc/distinfo
index 217785c94a3d..01ecf690dd92 100644
--- a/devel/mingw32-gcc/distinfo
+++ b/devel/mingw32-gcc/distinfo
@@ -1,6 +1,6 @@
-MD5 (mingw/gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811
-MD5 (mingw/gcc-g++-3.2.tar.bz2) = bec8fc6679a7ba0abb79af3d9bb4f43e
-MD5 (mingw/gcc-objc-3.2.tar.bz2) = 48fabae4a46f4c12e277358b9044fb25
-MD5 (mingw/gcc-g77-3.2.tar.bz2) = b6799d840bd458562368c10ec8765ed2
-MD5 (mingw/gcc-ada-3.2.tar.bz2) = 20a5a6984a998be0a452f6240287c1ce
-MD5 (mingw/gcc-3.2-20020817-1.src.diff.gz) = 49fd6cb2e2fcf005b037c54a89b145ac
+MD5 (gcc-core-3.2.3.tar.bz2) = 66664a84b383ba8d68612cd89b9478b2
+MD5 (gcc-g++-3.2.3.tar.bz2) = ebb7932d0dc526b10c222a22cc02f180
+MD5 (gcc-objc-3.2.3.tar.bz2) = eaca8b22d4ef2b42b84b877edbdf896b
+MD5 (gcc-g77-3.2.3.tar.bz2) = 8bea8cf9734995738552d90cf3f80b62
+MD5 (gcc-ada-3.2.3.tar.bz2) = 068008f530fc8892fd9075e00e580735
+MD5 (mingw/gcc-3.2.3-20030504-1-src.diff.gz) = 1fd22ca0c6d40d1d8ad76e850cf309f4