From owner-freebsd-ports Fri Oct 25 5:10:25 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D2E437B404 for ; Fri, 25 Oct 2002 05:10:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C045943E77 for ; Fri, 25 Oct 2002 05:10:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9PCA5x3006861 for ; Fri, 25 Oct 2002 05:10:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9PCA5Mn006860; Fri, 25 Oct 2002 05:10:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C7B37B401 for ; Fri, 25 Oct 2002 05:09:48 -0700 (PDT) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE34443E65 for ; Fri, 25 Oct 2002 05:09:46 -0700 (PDT) (envelope-from lev@ftp.translate.ru) Received: from ftp.translate.ru (localhost [127.0.0.1]) by ftp.translate.ru (8.12.5/8.12.5) with ESMTP id g9PC9FD3091345 for ; Fri, 25 Oct 2002 16:09:15 +0400 (MSD) (envelope-from lev@ftp.translate.ru) Received: (from lev@localhost) by ftp.translate.ru (8.12.5/8.12.5/Submit) id g9PC9A2l091344; Fri, 25 Oct 2002 16:09:10 +0400 (MSD) Message-Id: <200210251209.g9PC9A2l091344@ftp.translate.ru> Date: Fri, 25 Oct 2002 16:09:10 +0400 (MSD) From: "Lev A. Serbryakov" Reply-To: "Lev A. Serbryakov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44459: [NEW PORT] devel/mingw32-gcc: new version of mingw32 toolchain for Windows target Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44459 >Category: ports >Synopsis: [NEW PORT] devel/mingw32-gcc: new version of mingw32 toolchain for Windows target >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 25 05:10:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Lev A. Serbryakov >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD ftp.translate.ru 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Wed Sep 4 15:11:34 MSD 2002 lev@ftp.translate.ru:/usr/src/sys/compile/FTPTR i386 Ports collection from 25 Oct 2002. >Description: This is gcc from latest mingw32-2.0.0 package. Here is old port `devel/mingw-' from 1.0.0 package, but maintainer of this old port syay, taht he don't want update it, because new versions is not too stable. It is good idea, to have old and stable environment (with old and good-known gcc-2.95, etc) and new one. We have many versions of native gcc in `lang/', for example. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mingw32-gcc # mingw32-gcc/Makefile # mingw32-gcc/pkg-plist # mingw32-gcc/pkg-comment # mingw32-gcc/pkg-descr # mingw32-gcc/distinfo # echo c - mingw32-gcc mkdir -p mingw32-gcc > /dev/null 2>&1 echo x - mingw32-gcc/Makefile sed 's/^X//' >mingw32-gcc/Makefile << 'END-of-mingw32-gcc/Makefile' X# New ports collection makefile for: mingw32-gcc X# Date created: 24 October 2002 X# Whom: Lev Serebryakov X# X# $FreeBSD$ X# X XPORTNAME= gcc XPORTVERSION= ${GCCVERSION}.${PATCHVERSION} XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEWARE} XMASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION} XPKGNAMEPREFIX= mingw32- XDISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \ X ${PORTNAME}-g++-${GCCVERSION}${EXTRACT_SUFX} \ X ${PORTNAME}-objc-${GCCVERSION}${EXTRACT_SUFX} \ X ${PORTNAME}-g77-${GCCVERSION}${EXTRACT_SUFX} \ X ${PORTNAME}-ada-${GCCVERSION}${EXTRACT_SUFX} XDIST_SUBDIR= mingw X XPATCH_SITES= ${MASTER_SITE_SOURCEFORGE} XPATCH_SITE_SUBDIR= mingw XPATCHFILES= ${PORTNAME}-${GCCVERSION}-${PATCHVERSION:S/./-/}.src.diff.gz XPATCH_DIST_STRIP= -p1 X XMAINTAINER= lev@serebryakov.spb.ru X XBUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \ X mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt XRUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils X XGCCVERSION= 3.2 XPATCHVERSION= 20020817.1 X XWRKSRC= ${WRKDIR}/${PORTNAME}-${GCCVERSION} X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_LIBTOOL= yes XCONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \ X --enable-languages=c,c++,ada,f77,objc \ X --with-gcc --with-gnu-ld --with-gnu-as \ X --enable-threads --disable-nls \ X --disable-win32-registry --disable-shared XMAKE_ENV= PATH=${PREFIX}/bin:${PATH} XLIBTOOLFILES= configure gcc/configure XMAN1= ${PKGNAMEPREFIX}gcc.1 ${PKGNAMEPREFIX}g++.1 ${PKGNAMEPREFIX}g77.1 \ X cpp.1 gcov.1 XMAN7= fsf-funding.7 gfdl.7 gpl.7 X XPLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \ X GCC_REV=${GCCVERSION} X XBINARIES = gcc cpp g++ g77 gcov X X# May be gcc sources was downloaded for some other port? Xpre-fetch: X for F in ${DISTFILES}; do \ X ${TEST} -f ${DISTDIR}/$${F} && \ X ${TEST} ! -f ${DISTDIR}/${DIST_SUBDIR}/$${F} && \ X ${LN} ${DISTDIR}/$${F} ${DISTDIR}/${DIST_SUBDIR}/$${F} || \ X true ;\ X done X Xpost-configure: X @${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile X @${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' ${WRKSRC}/gcc/Makefile X Xpost-install: X.for F in ${BINARIES} X @strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F X @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \ X ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F X.endfor X X.include END-of-mingw32-gcc/Makefile echo x - mingw32-gcc/pkg-plist sed 's/^X//' >mingw32-gcc/pkg-plist << 'END-of-mingw32-gcc/pkg-plist' X%%GCC_TARG%%/bin/c++ X%%GCC_TARG%%/bin/cpp X%%GCC_TARG%%/bin/g++ X%%GCC_TARG%%/bin/g77 X%%GCC_TARG%%/bin/gcc X%%GCC_TARG%%/bin/gcov Xbin/%%GCC_TARG%%-c++ Xbin/%%GCC_TARG%%-cpp Xbin/%%GCC_TARG%%-g++ Xbin/%%GCC_TARG%%-g77 Xbin/%%GCC_TARG%%-gcc Xbin/%%GCC_TARG%%-gccbug Xbin/%%GCC_TARG%%-gcov Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1 Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1obj Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1plus Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cpp0 Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/crtbegin.o Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/crtend.o Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/f771 Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/README Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/float.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/iso646.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/limits.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/mmintrin.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdarg.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdbool.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stddef.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/syslimits.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/varargs.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/xmmintrin.h Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0 X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%% X@dirrm lib/gcc-lib/%%GCC_TARG%% X@unexec rmdir %D/lib/gcc-lib 2> /dev/null || true END-of-mingw32-gcc/pkg-plist echo x - mingw32-gcc/pkg-comment sed 's/^X//' >mingw32-gcc/pkg-comment << 'END-of-mingw32-gcc/pkg-comment' XFSF gcc-3.2 for Windows cross-development END-of-mingw32-gcc/pkg-comment echo x - mingw32-gcc/pkg-descr sed 's/^X//' >mingw32-gcc/pkg-descr << 'END-of-mingw32-gcc/pkg-descr' XFSF gcc-3.2 for Windows cross-development X XGCC site: http://gcc.gnu.org/ X XWWW: http://www.mingw.org/ END-of-mingw32-gcc/pkg-descr echo x - mingw32-gcc/distinfo sed 's/^X//' >mingw32-gcc/distinfo << 'END-of-mingw32-gcc/distinfo' XMD5 (mingw/gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811 XMD5 (mingw/gcc-g++-3.2.tar.bz2) = bec8fc6679a7ba0abb79af3d9bb4f43e XMD5 (mingw/gcc-objc-3.2.tar.bz2) = 48fabae4a46f4c12e277358b9044fb25 XMD5 (mingw/gcc-g77-3.2.tar.bz2) = b6799d840bd458562368c10ec8765ed2 XMD5 (mingw/gcc-ada-3.2.tar.bz2) = 20a5a6984a998be0a452f6240287c1ce XMD5 (mingw/gcc-3.2-20020817-1.src.diff.gz) = 49fd6cb2e2fcf005b037c54a89b145ac END-of-mingw32-gcc/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message