From lino@tp.unitedpeople.info  Mon Jul 10 18:12:31 2006
Return-Path: <lino@tp.unitedpeople.info>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9377D16A4DE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 Jul 2006 18:12:31 +0000 (UTC)
	(envelope-from lino@tp.unitedpeople.info)
Received: from tp.unitedpeople.info (BSN-61-112-4.dial-up.dsl.siol.net [86.61.112.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 25F8A43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 Jul 2006 18:12:28 +0000 (GMT)
	(envelope-from lino@tp.unitedpeople.info)
Received: from tp.unitedpeople.info (localhost [127.0.0.1])
	by tp.unitedpeople.info (8.13.6/8.13.6) with ESMTP id k6AICLCL001181
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 Jul 2006 20:12:22 +0200 (CEST)
	(envelope-from lino@tp.unitedpeople.info)
Received: (from lino@localhost)
	by tp.unitedpeople.info (8.13.6/8.13.6/Submit) id k6AICKYx001180;
	Mon, 10 Jul 2006 20:12:20 +0200 (CEST)
	(envelope-from lino)
Message-Id: <200607101812.k6AICKYx001180@tp.unitedpeople.info>
Date: Mon, 10 Jul 2006 20:12:20 +0200 (CEST)
From: Karel Miklav <karel@lovetemple.net>
Reply-To: Karel Miklav <karel@lovetemple.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: lang/gnat-gcc41 GNU Ada compiler 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         100038
>Category:       ports
>Synopsis:       New port: lang/gnat-gcc41 GNU Ada compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 18:20:13 GMT 2006
>Closed-Date:    Mon Sep 04 16:32:06 GMT 2006
>Last-Modified:  Tue Oct 16 11:00:11 UTC 2007
>Originator:     Karel Miklav
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD tp.unitedpeople.info 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 16 19:08:52 CEST 2006 lino@tp.unitedpeople.info:/usr/obj/usr/src/sys/TPX40 i386


	
>Description:
GCC version of the GNAT Ada compiler
	
>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:
#
#	gnat-gcc41
#	gnat-gcc41/files
#	gnat-gcc41/files/patch-gengtype-yacc.y
#	gnat-gcc41/Makefile
#	gnat-gcc41/pkg-plist
#	gnat-gcc41/pkg-descr
#	gnat-gcc41/distinfo
#
echo c - gnat-gcc41
mkdir -p gnat-gcc41 > /dev/null 2>&1
echo c - gnat-gcc41/files
mkdir -p gnat-gcc41/files > /dev/null 2>&1
echo x - gnat-gcc41/files/patch-gengtype-yacc.y
sed 's/^X//' >gnat-gcc41/files/patch-gengtype-yacc.y << 'END-of-gnat-gcc41/files/patch-gengtype-yacc.y'
X--- gcc/gengtype-yacc.y.orig	Fri Sep 20 00:33:24 2002
X+++ gcc/gengtype-yacc.y	Tue Apr 22 09:11:27 2003
X@@ -24,6 +24,9 @@
X #include "system.h"
X #include "gengtype.h"
X #define YYERROR_VERBOSE
X+
X+#define malloc xmalloc
X+#define realloc xrealloc
X %}
X 
X %union {
END-of-gnat-gcc41/files/patch-gengtype-yacc.y
echo x - gnat-gcc41/Makefile
sed 's/^X//' >gnat-gcc41/Makefile << 'END-of-gnat-gcc41/Makefile'
X# ex:ts=4
X# Ports collection makefile for:	gnat-gcc
X# Date created:						22 Jun 2006
X# Whom:								Karel Miklav <karel@lovetemple.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		gnat-gcc
XPORTVERSION=	4.1.2
XCATEGORIES=		lang
XMASTER_SITES=	${MASTER_SITE_GCC}
XMASTER_SITE_SUBDIR=	snapshots/${versionstring}
XDISTFILES=		gcc-core-${versionstring}${EXTRACT_SUFX} \
X				gcc-ada-${versionstring}${EXTRACT_SUFX} \
X				gcc-testsuite-${versionstring}${EXTRACT_SUFX}
X
XMAINTAINER=		karel@lovetemple.net
XCOMMENT=		The GNU Ada Compiler system
X
XNOT_FOR_ARCHS=	alpha
XUSE_BZIP2=		yes
XUSE_GMAKE=		yes
XUSE_ICONV=		yes
XUSE_PERL5_BUILD=	yes
XUSE_BISON=		yes
X
XCONFLICTS=		gcc-4.1.*
XWRKSRC=			${WRKDIR}/build
X
XMAN1=			cpp${gcc_suffix}.1 \
X				gcc${gcc_suffix}.1 \
X				gcov${gcc_suffix}.1
XMAN7=			fsf-funding.7 gfdl.7 gpl.7
XNOMANCOMPRESS=	yes	# 5-cur and releng4 problems?
XINFO=			gcc${gcc_suffix}/cpp \
X				gcc${gcc_suffix}/cppinternals \
X				gcc${gcc_suffix}/gcc \
X				gcc${gcc_suffix}/gccinstall \
X				gcc${gcc_suffix}/gccint \
X				gcc${gcc_suffix}/gnat-style \
X				gcc${gcc_suffix}/gnat_rm \
X				gcc${gcc_suffix}/gnat_ugn_unw
X
X.include <bsd.port.pre.mk>
X
Xgcc_snapshot=	20060616
Xversionstring=	${PORTVERSION:C/\.[0-9]*$//}-${gcc_snapshot}
Xsrcdir=			${WRKDIR}/gcc-${versionstring}
Xgcc_suffix=		41
Xtarglib=		${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
X
XPATCH_WRKSRC=	${srcdir}
X
XGNU_CONFIGURE=	yes
XCONFIGURE_SCRIPT=	../${srcdir:C/${WRKDIR}//}/configure
XCONFIGURE_ARGS=	--enable-languages="c,ada" \
X				--disable-nls \
X				--with-system-zlib \
X				--with-libiconv-prefix=${LOCALBASE} \
X				--program-suffix=${gcc_suffix} \
X				--bindir=${PREFIX}/bin/gcc${gcc_suffix} \
X				--libdir=${targlib} \
X				--infodir=${PREFIX}/${INFO_PATH}/gcc${gcc_suffix}
X
XALL_TARGET=		bootstrap-lean
XMAKE_ARGS+=		MAKEINFOFLAGS="--no-split"
X
XUSE_LDCONFIG=	${targlib}
X
XPLIST_SUB=		GCC_VER=${PORTVERSION} \
X				GNU_HOST=${CONFIGURE_TARGET} \
X				SUFFIX=${gcc_suffix}
X
X.if ${ARCH} == "amd64"
XCONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
X.endif
X
X# We need an existing GNAT compiler to bootstrap this one.
Xhave_gnat!=	if ${WHICH} gnatmake > /dev/null 2>&1; then \
X				${ECHO_CMD} "t"; \
X			else \
X				${ECHO_CMD} ""; \
X			fi
X.if empty(have_gnat)
XBUILD_DEPENDS+=	${LOCALBASE}/bin/gcc34/gcc34:${PORTSDIR}/lang/gnat-gcc34
XCONFIGURE_ENV+=	PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
XMAKE_ENV+=		PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
X.endif
X
Xpre-everything::
X	@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
X
X# Append ' [FreeBSD]' to gcc version string.
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
X	    ${srcdir}/gcc/version.c
X
Xpre-configure:
X	cd ${srcdir} ; contrib/gcc_update --touch
X	@${RM} -f ${srcdir}/gcc/*/*.info*
X	@${MKDIR} ${CONFIGURE_WRKSRC}
X
Xpost-build:
X	@${ECHO_MSG} "Consider running 'make check' before 'make install', especially"
X	@${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
X	@${ECHO_MSG} "This assumes that you have the dejagnu port installed."
X
Xcheck: build
X	cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
X
Xpost-install:
X	${LN} -s ${PREFIX}/bin/gcc${gcc_suffix}/gcc${gcc_suffix} \
X		${PREFIX}/bin/gcc${gcc_suffix}/gcc
X	# Man pages can only be generated if Perl >= 5.6 is installed;
X	# fake them otherwise.
X	for mp in ${_MANPAGES}; do \
X		${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
X	done
X	# Save the runaway header.
X	${MV} -f ${PREFIX}/include/mf-runtime.h \
X	         ${targlib}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include
X	# Remove libtool library files.
X	${RM} -f ${targlib}/*.la
X	# Add target libraries and include files to packaging list.
X	${RM} -f ${WRKDIR}/PLIST.lib
X	for d in ${targlib:S/^${PREFIX}\///} ${targlib:S/^${PREFIX}\///:S/lib/libexec/}; do \
X		cd ${PREFIX} ; \
X		if [ -d $${d} ]; then \
X			${FIND} $${d} -type f -o -type l >>${WRKDIR}/PLIST.lib ; \
X			${FIND} $${d} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ; \
X		fi ; \
X	done
X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib
X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib
X	cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
X
X.include <bsd.port.post.mk>
END-of-gnat-gcc41/Makefile
echo x - gnat-gcc41/pkg-plist
sed 's/^X//' >gnat-gcc41/pkg-plist << 'END-of-gnat-gcc41/pkg-plist'
Xbin/gcc%%SUFFIX%%/cpp%%SUFFIX%%
Xbin/gcc%%SUFFIX%%/gcc
Xbin/gcc%%SUFFIX%%/gcc%%SUFFIX%%
Xbin/gcc%%SUFFIX%%/gccbug%%SUFFIX%%
Xbin/gcc%%SUFFIX%%/gcov%%SUFFIX%%
Xbin/gcc%%SUFFIX%%/gnat
Xbin/gcc%%SUFFIX%%/gnatbind
Xbin/gcc%%SUFFIX%%/gnatbl
Xbin/gcc%%SUFFIX%%/gnatchop
Xbin/gcc%%SUFFIX%%/gnatclean
Xbin/gcc%%SUFFIX%%/gnatfind
Xbin/gcc%%SUFFIX%%/gnatkr
Xbin/gcc%%SUFFIX%%/gnatlink
Xbin/gcc%%SUFFIX%%/gnatls
Xbin/gcc%%SUFFIX%%/gnatmake
Xbin/gcc%%SUFFIX%%/gnatname
Xbin/gcc%%SUFFIX%%/gnatprep
Xbin/gcc%%SUFFIX%%/gnatxref
Xbin/gcc%%SUFFIX%%/gprmake
Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc-%%GCC_VER%%
Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc%%SUFFIX%%
Xinfo/gcc%%SUFFIX%%/dir
X@dirrm bin/gcc%%SUFFIX%%
X@comment Insert PLIST.lib here
END-of-gnat-gcc41/pkg-plist
echo x - gnat-gcc41/pkg-descr
sed 's/^X//' >gnat-gcc41/pkg-descr << 'END-of-gnat-gcc41/pkg-descr'
XThe GNU Ada compiler system built from GCC 4.1.2.
X
XPlease add ${PREFIX}/bin/gcc41 to your PATH variable
Xbefore using this port.
X
XWWW: http://gcc.gnu.org/
END-of-gnat-gcc41/pkg-descr
echo x - gnat-gcc41/distinfo
sed 's/^X//' >gnat-gcc41/distinfo << 'END-of-gnat-gcc41/distinfo'
XMD5 (gcc-core-4.1-20060616.tar.bz2) = 17bee655fe147e529c390ea22c0db900
XSHA256 (gcc-core-4.1-20060616.tar.bz2) = 0961d436a6f140fd3fe356d53911c40f2d53c76f821d8ed445bffffa447bf410
XSIZE (gcc-core-4.1-20060616.tar.bz2) = 14937238
XMD5 (gcc-g++-4.1-20060616.tar.bz2) = 3f8a0d03fde550efa0862f3e1128883a
XSHA256 (gcc-g++-4.1-20060616.tar.bz2) = f5636cab5c129dfc527655bdffe99e9a851eab2cc7af817ceb908f75c607ec9b
XSIZE (gcc-g++-4.1-20060616.tar.bz2) = 3831902
XMD5 (gcc-objc-4.1-20060616.tar.bz2) = 6a2150292fdb4e76ceec0e1987d2d6bf
XSHA256 (gcc-objc-4.1-20060616.tar.bz2) = ca4c48a9555d2c36f69a7884168ede0358a98c755a343766138662e5cabab10a
XSIZE (gcc-objc-4.1-20060616.tar.bz2) = 191016
XMD5 (gcc-testsuite-4.1-20060616.tar.bz2) = ab964790b1a3a374159c6126e311992d
XSHA256 (gcc-testsuite-4.1-20060616.tar.bz2) = 1424850b612b09eb60c73f83d9a6565f1ae4be02ea9132059c85fd598bb619ff
XSIZE (gcc-testsuite-4.1-20060616.tar.bz2) = 3560594
XMD5 (gcc-fortran-4.1-20060616.tar.bz2) = f601838100b23d97c5146285a4d9eb06
XSHA256 (gcc-fortran-4.1-20060616.tar.bz2) = 49fc8e05c189f4c63fd29a7e8136f6969ce0b6265ad9ce41c85d16db655271e8
XSIZE (gcc-fortran-4.1-20060616.tar.bz2) = 769853
XMD5 (gcc-java-4.1-20060616.tar.bz2) = f78b169f262a6e7e723133b43dbba932
XSHA256 (gcc-java-4.1-20060616.tar.bz2) = e928d74be6b43a17ac4ee719b627a39bd9934d0fd022f210784983b1dd9ae67a
XSIZE (gcc-java-4.1-20060616.tar.bz2) = 9088097
XMD5 (gcc-ada-4.1-20060616.tar.bz2) = 93b3ec04bd80976283900da19e7ad866
XSHA256 (gcc-ada-4.1-20060616.tar.bz2) = 34618b2e1c50b122a8ad92a704e01d32163a26096db9cee5e516ca46184abc6e
XSIZE (gcc-ada-4.1-20060616.tar.bz2) = 4628439
END-of-gnat-gcc41/distinfo
exit


	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Wed Aug 2 22:17:19 UTC 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100038 

From: "Boris B. Samorodov" <bsam@ipt.ru>
To: bug-followup@FreeBSD.org,karel@lovetemple.net
Cc:  
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler?Gcc=INBOX.Sent
Date: Fri, 04 Aug 2006 01:48:52 +0400

 Hi Karel,
 
 great work and not an easy one! Thanks for contributting.
 
 Currently I see 5 issues at the port. The two of them may be solved
 as of PR/99993. Here are the remaining:
 
 1. The port installs MAN7 files with the same name as lang/gnat-gcc34
    does: fsf-funding.7, gfdl.7, gpl.7.
 
 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc
    which is installed by lang/gnat-gcc34 while builded to bootstrap
    the current port.
 
 3. The distinfo file seems to be overloaded.
 
 WBR
 -- 
 bsam
State-Changed-From-To: open->feedback 
State-Changed-By: bsam 
State-Changed-When: Thu Aug 3 22:11:45 UTC 2006 
State-Changed-Why:  
Awaiting for a feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100038 

From: Karel Miklav <karel@lovetemple.net>
To: "Boris B. Samorodov" <bsam@ipt.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler?Gcc=INBOX.Sent
Date: Thu, 31 Aug 2006 17:34:02 +0200

 Boris B. Samorodov wrote:
 > Currently I see 5 issues at the port. The two of them may be solved
 > as of PR/99993. Here are the remaining:
 > 
 > 1. The port installs MAN7 files with the same name as lang/gnat-gcc34
 >    does: fsf-funding.7, gfdl.7, gpl.7.
 > 
 > 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc
 >    which is installed by lang/gnat-gcc34 while builded to bootstrap
 >    the current port.
 > 
 > 3. The distinfo file seems to be overloaded.
 
 All the issues are resolved in this version, please take a look.

From: Karel Miklav <karel.miklav@siol.net>
To: bug-followup@FreeBSD.org,  karel@lovetemple.net
Cc:  
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler
Date: Thu, 31 Aug 2006 17:48:23 +0200

 This is a multi-part message in MIME format.
 --------------040502070206050505070609
 Content-Type: text/plain; charset=ISO-8859-2; format=flowed
 Content-Transfer-Encoding: 7bit
 
 All the issues are resolved in this version, please take a look.
 
 --------------040502070206050505070609
 Content-Type: text/plain;
  name="gnat-gcc41.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="gnat-gcc41.shar"
 
 # 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:
 #
 #	gnat-gcc41
 #	gnat-gcc41/files
 #	gnat-gcc41/files/patch-gengtype-yacc.y
 #	gnat-gcc41/Makefile
 #	gnat-gcc41/pkg-plist
 #	gnat-gcc41/pkg-descr
 #	gnat-gcc41/distinfo
 #
 echo c - gnat-gcc41
 mkdir -p gnat-gcc41 > /dev/null 2>&1
 echo c - gnat-gcc41/files
 mkdir -p gnat-gcc41/files > /dev/null 2>&1
 echo x - gnat-gcc41/files/patch-gengtype-yacc.y
 sed 's/^X//' >gnat-gcc41/files/patch-gengtype-yacc.y << 'END-of-gnat-gcc41/files/patch-gengtype-yacc.y'
 X--- gcc/gengtype-yacc.y.orig	Fri Sep 20 00:33:24 2002
 X+++ gcc/gengtype-yacc.y	Tue Apr 22 09:11:27 2003
 X@@ -24,6 +24,9 @@
 X #include "system.h"
 X #include "gengtype.h"
 X #define YYERROR_VERBOSE
 X+
 X+#define malloc xmalloc
 X+#define realloc xrealloc
 X %}
 X 
 X %union {
 END-of-gnat-gcc41/files/patch-gengtype-yacc.y
 echo x - gnat-gcc41/Makefile
 sed 's/^X//' >gnat-gcc41/Makefile << 'END-of-gnat-gcc41/Makefile'
 X# ex:ts=4
 X# Ports collection makefile for:	gnat-gcc
 X# Date created:						22 Jun 2006
 X# Whom:								Karel Miklav <karel@lovetemple.net>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=		gnat-gcc
 XPORTVERSION=	4.1.2
 XCATEGORIES=		lang
 XMASTER_SITES=	${MASTER_SITE_GCC}
 XMASTER_SITE_SUBDIR=	snapshots/${versionstring}
 XDISTFILES=		gcc-core-${versionstring}${EXTRACT_SUFX} \
 X				gcc-ada-${versionstring}${EXTRACT_SUFX} \
 X				gcc-testsuite-${versionstring}${EXTRACT_SUFX}
 X
 XMAINTAINER=		karel@lovetemple.net
 XCOMMENT=		The GNU Ada Compiler system
 X
 XONLY_FOR_ARCHS=	i386
 X
 XUSE_BZIP2=		yes
 XUSE_GMAKE=		yes
 XUSE_ICONV=		yes
 XUSE_PERL5_BUILD=	yes
 XUSE_BISON=		yes
 X
 XCONFLICTS=		gcc-4.1.*
 XWRKSRC=			${WRKDIR}/build
 X
 XMAN1=			cpp${gcc_suffix}.1 \
 X				gcc${gcc_suffix}.1 \
 X				gcov${gcc_suffix}.1
 XMAN7=			${fsf_mans:S/$/${fsf_suffix}.7/}
 XNOMANCOMPRESS=	yes	# 5-cur and releng4 problems?
 XINFO=			gcc${gcc_suffix}/cpp \
 X				gcc${gcc_suffix}/cppinternals \
 X				gcc${gcc_suffix}/gcc \
 X				gcc${gcc_suffix}/gccinstall \
 X				gcc${gcc_suffix}/gccint \
 X				gcc${gcc_suffix}/gnat-style \
 X				gcc${gcc_suffix}/gnat_rm \
 X				gcc${gcc_suffix}/gnat_ugn_unw
 X
 XLATEST_LINK=	${PORTNAME}${gcc_suffix}
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${OSVERSION} < 500000
 XBROKEN=		does not deinstall cleanly at 4.x (PR/101809 pending)
 X.endif
 X
 Xgcc_snapshot=	20060818
 Xversionstring=	${PORTVERSION:C/\.[0-9]*$//}-${gcc_snapshot}
 Xsrcdir=			${WRKDIR}/gcc-${versionstring}
 Xgcc_suffix=		41
 Xfsf_mans=		fsf-funding gfdl gpl
 Xfsf_suffix=		-${PORTNAME}${gcc_suffix}
 Xtarglib=		${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
 X
 XPATCH_WRKSRC=	${srcdir}
 X
 XGNU_CONFIGURE=	yes
 XCONFIGURE_SCRIPT=	../${srcdir:C/${WRKDIR}//}/configure
 XCONFIGURE_ARGS=	--enable-languages="c,ada" \
 X				--disable-nls \
 X				--with-system-zlib \
 X				--with-libiconv-prefix=${LOCALBASE} \
 X				--program-suffix=${gcc_suffix} \
 X				--bindir=${PREFIX}/bin/gcc${gcc_suffix} \
 X				--libdir=${targlib} \
 X				--infodir=${PREFIX}/${INFO_PATH}/gcc${gcc_suffix}
 X
 XALL_TARGET=		bootstrap-lean
 XMAKE_ARGS+=		MAKEINFOFLAGS="--no-split"
 X
 XPLIST_SUB=		GCC_VER=${PORTVERSION} \
 X				GNU_HOST=${CONFIGURE_TARGET} \
 X				SUFFIX=${gcc_suffix}
 X
 XUSE_LDCONFIG=	${targlib}
 X
 X# We need an existing GNAT compiler to bootstrap this one.
 Xhave_gnat!=	if ${WHICH} gnatmake > /dev/null 2>&1; then \
 X				${ECHO_CMD} "t"; \
 X			else \
 X				${ECHO_CMD} ""; \
 X			fi
 X.if empty(have_gnat)
 XBUILD_DEPENDS+=	${LOCALBASE}/bin/gcc34/gcc34:${PORTSDIR}/lang/gnat-gcc34
 XCONFIGURE_ENV+=	PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
 XMAKE_ENV+=		PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
 X.endif
 X
 Xpre-everything::
 X	@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
 X
 X# Append ' [FreeBSD]' to gcc version string.
 Xpost-patch:
 X	@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
 X	    ${srcdir}/gcc/version.c
 X
 Xpre-configure:
 X	cd ${srcdir} ; contrib/gcc_update --touch
 X	@${RM} -f ${srcdir}/gcc/*/*.info*
 X	@${MKDIR} ${CONFIGURE_WRKSRC}
 X
 Xpost-build:
 X	@${ECHO_MSG} "Consider running 'make check' before 'make install', especially"
 X	@${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
 X	@${ECHO_MSG} "This assumes that you have the dejagnu port installed."
 X
 Xcheck: build
 X	cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
 X
 Xpost-install:
 X	${LN} -s ${PREFIX}/bin/gcc${gcc_suffix}/gcc${gcc_suffix} \
 X		${PREFIX}/bin/gcc${gcc_suffix}/gcc
 X	# Man pages can only be generated if Perl >= 5.6 is installed; fake them otherwise.
 X	for mp in ${_MANPAGES}; do \
 X		${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
 X	done
 X	# Version FSF funding and licensing manuals.
 X	for mp in ${fsf_mans}; do \
 X		${MV} -f ${PREFIX}/man/man7/$${mp}.7 \
 X			${PREFIX}/man/man7/$${mp}${fsf_suffix}.7; \
 X	done
 X	# Save the runaway header.
 X	${MV} -f ${PREFIX}/include/mf-runtime.h \
 X	         ${targlib}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include
 X	# Remove libtool library files.
 X	${RM} -f ${targlib}/*.la
 X	# Add target libraries and include files to packaging list.
 X	${RM} -f ${WRKDIR}/PLIST.lib
 X	for d in ${targlib:S/^${PREFIX}\///} ${targlib:S/^${PREFIX}\///:S/lib/libexec/}; do \
 X		cd ${PREFIX} ; \
 X		if [ -d $${d} ]; then \
 X			${FIND} $${d} -type f -o -type l >>${WRKDIR}/PLIST.lib ; \
 X			${FIND} $${d} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ; \
 X		fi ; \
 X	done
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
 X
 X.include <bsd.port.post.mk>
 END-of-gnat-gcc41/Makefile
 echo x - gnat-gcc41/pkg-plist
 sed 's/^X//' >gnat-gcc41/pkg-plist << 'END-of-gnat-gcc41/pkg-plist'
 Xbin/gcc%%SUFFIX%%/cpp%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gcc
 Xbin/gcc%%SUFFIX%%/gcc%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gccbug%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gcov%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gnat
 Xbin/gcc%%SUFFIX%%/gnatbind
 Xbin/gcc%%SUFFIX%%/gnatbl
 Xbin/gcc%%SUFFIX%%/gnatchop
 Xbin/gcc%%SUFFIX%%/gnatclean
 Xbin/gcc%%SUFFIX%%/gnatfind
 Xbin/gcc%%SUFFIX%%/gnatkr
 Xbin/gcc%%SUFFIX%%/gnatlink
 Xbin/gcc%%SUFFIX%%/gnatls
 Xbin/gcc%%SUFFIX%%/gnatmake
 Xbin/gcc%%SUFFIX%%/gnatname
 Xbin/gcc%%SUFFIX%%/gnatprep
 Xbin/gcc%%SUFFIX%%/gnatxref
 Xbin/gcc%%SUFFIX%%/gprmake
 Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc-%%GCC_VER%%
 Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc%%SUFFIX%%
 Xinfo/gcc%%SUFFIX%%/dir
 X@dirrm bin/gcc%%SUFFIX%%
 X@comment Insert PLIST.lib here
 END-of-gnat-gcc41/pkg-plist
 echo x - gnat-gcc41/pkg-descr
 sed 's/^X//' >gnat-gcc41/pkg-descr << 'END-of-gnat-gcc41/pkg-descr'
 XThe GNU Ada compiler system built from GCC 4.1.2.
 X
 XPlease add ${PREFIX}/bin/gcc41 to your PATH variable
 Xbefore using this port.
 X
 XWWW: http://gcc.gnu.org/
 END-of-gnat-gcc41/pkg-descr
 echo x - gnat-gcc41/distinfo
 sed 's/^X//' >gnat-gcc41/distinfo << 'END-of-gnat-gcc41/distinfo'
 XMD5 (gcc-core-4.1-20060818.tar.bz2) = e450b204b83de10ea971e2aeda24e678
 XSHA256 (gcc-core-4.1-20060818.tar.bz2) = e6cc4b93bb55f3b1b0e10d170cf676d722948d096b0af29c0a526eddadda3d53
 XSIZE (gcc-core-4.1-20060818.tar.bz2) = 14957673
 XMD5 (gcc-ada-4.1-20060818.tar.bz2) = 411397607272a36d2cafa40b78c39bdf
 XSHA256 (gcc-ada-4.1-20060818.tar.bz2) = 8b6c2c0292e1b9524c3a930d6949fbdebe367d420c4298f9b2661d14ce2bc819
 XSIZE (gcc-ada-4.1-20060818.tar.bz2) = 4628445
 XMD5 (gcc-testsuite-4.1-20060818.tar.bz2) = 27d1ba3833f51ca9b34342e4a07b39a4
 XSHA256 (gcc-testsuite-4.1-20060818.tar.bz2) = cdb4a07f40102f4fe207e29b094cd9ca47798c40083992d186a9731ca992b265
 XSIZE (gcc-testsuite-4.1-20060818.tar.bz2) = 3567830
 END-of-gnat-gcc41/distinfo
 exit
 
 
 --------------040502070206050505070609--

From: Karel Miklav <karel.miklav@siol.net>
To: bug-followup@FreeBSD.org
Cc: Boris Samorodov <bsam@ipt.ru>
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler
Date: Thu, 31 Aug 2006 17:49:30 +0200

 This is a multi-part message in MIME format.
 --------------020309010501060906000401
 Content-Type: text/plain; charset=ISO-8859-2; format=flowed
 Content-Transfer-Encoding: 7bit
 
 All the issues are resolved in this version, please take a look.
 
 --------------020309010501060906000401
 Content-Type: text/plain;
  name="gnat-gcc41.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="gnat-gcc41.shar"
 
 # 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:
 #
 #	gnat-gcc41
 #	gnat-gcc41/files
 #	gnat-gcc41/files/patch-gengtype-yacc.y
 #	gnat-gcc41/Makefile
 #	gnat-gcc41/pkg-plist
 #	gnat-gcc41/pkg-descr
 #	gnat-gcc41/distinfo
 #
 echo c - gnat-gcc41
 mkdir -p gnat-gcc41 > /dev/null 2>&1
 echo c - gnat-gcc41/files
 mkdir -p gnat-gcc41/files > /dev/null 2>&1
 echo x - gnat-gcc41/files/patch-gengtype-yacc.y
 sed 's/^X//' >gnat-gcc41/files/patch-gengtype-yacc.y << 'END-of-gnat-gcc41/files/patch-gengtype-yacc.y'
 X--- gcc/gengtype-yacc.y.orig	Fri Sep 20 00:33:24 2002
 X+++ gcc/gengtype-yacc.y	Tue Apr 22 09:11:27 2003
 X@@ -24,6 +24,9 @@
 X #include "system.h"
 X #include "gengtype.h"
 X #define YYERROR_VERBOSE
 X+
 X+#define malloc xmalloc
 X+#define realloc xrealloc
 X %}
 X 
 X %union {
 END-of-gnat-gcc41/files/patch-gengtype-yacc.y
 echo x - gnat-gcc41/Makefile
 sed 's/^X//' >gnat-gcc41/Makefile << 'END-of-gnat-gcc41/Makefile'
 X# ex:ts=4
 X# Ports collection makefile for:	gnat-gcc
 X# Date created:						22 Jun 2006
 X# Whom:								Karel Miklav <karel@lovetemple.net>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=		gnat-gcc
 XPORTVERSION=	4.1.2
 XCATEGORIES=		lang
 XMASTER_SITES=	${MASTER_SITE_GCC}
 XMASTER_SITE_SUBDIR=	snapshots/${versionstring}
 XDISTFILES=		gcc-core-${versionstring}${EXTRACT_SUFX} \
 X				gcc-ada-${versionstring}${EXTRACT_SUFX} \
 X				gcc-testsuite-${versionstring}${EXTRACT_SUFX}
 X
 XMAINTAINER=		karel@lovetemple.net
 XCOMMENT=		The GNU Ada Compiler system
 X
 XONLY_FOR_ARCHS=	i386
 X
 XUSE_BZIP2=		yes
 XUSE_GMAKE=		yes
 XUSE_ICONV=		yes
 XUSE_PERL5_BUILD=	yes
 XUSE_BISON=		yes
 X
 XCONFLICTS=		gcc-4.1.*
 XWRKSRC=			${WRKDIR}/build
 X
 XMAN1=			cpp${gcc_suffix}.1 \
 X				gcc${gcc_suffix}.1 \
 X				gcov${gcc_suffix}.1
 XMAN7=			${fsf_mans:S/$/${fsf_suffix}.7/}
 XNOMANCOMPRESS=	yes	# 5-cur and releng4 problems?
 XINFO=			gcc${gcc_suffix}/cpp \
 X				gcc${gcc_suffix}/cppinternals \
 X				gcc${gcc_suffix}/gcc \
 X				gcc${gcc_suffix}/gccinstall \
 X				gcc${gcc_suffix}/gccint \
 X				gcc${gcc_suffix}/gnat-style \
 X				gcc${gcc_suffix}/gnat_rm \
 X				gcc${gcc_suffix}/gnat_ugn_unw
 X
 XLATEST_LINK=	${PORTNAME}${gcc_suffix}
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${OSVERSION} < 500000
 XBROKEN=		does not deinstall cleanly at 4.x (PR/101809 pending)
 X.endif
 X
 Xgcc_snapshot=	20060818
 Xversionstring=	${PORTVERSION:C/\.[0-9]*$//}-${gcc_snapshot}
 Xsrcdir=			${WRKDIR}/gcc-${versionstring}
 Xgcc_suffix=		41
 Xfsf_mans=		fsf-funding gfdl gpl
 Xfsf_suffix=		-${PORTNAME}${gcc_suffix}
 Xtarglib=		${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
 X
 XPATCH_WRKSRC=	${srcdir}
 X
 XGNU_CONFIGURE=	yes
 XCONFIGURE_SCRIPT=	../${srcdir:C/${WRKDIR}//}/configure
 XCONFIGURE_ARGS=	--enable-languages="c,ada" \
 X				--disable-nls \
 X				--with-system-zlib \
 X				--with-libiconv-prefix=${LOCALBASE} \
 X				--program-suffix=${gcc_suffix} \
 X				--bindir=${PREFIX}/bin/gcc${gcc_suffix} \
 X				--libdir=${targlib} \
 X				--infodir=${PREFIX}/${INFO_PATH}/gcc${gcc_suffix}
 X
 XALL_TARGET=		bootstrap-lean
 XMAKE_ARGS+=		MAKEINFOFLAGS="--no-split"
 X
 XPLIST_SUB=		GCC_VER=${PORTVERSION} \
 X				GNU_HOST=${CONFIGURE_TARGET} \
 X				SUFFIX=${gcc_suffix}
 X
 XUSE_LDCONFIG=	${targlib}
 X
 X# We need an existing GNAT compiler to bootstrap this one.
 Xhave_gnat!=	if ${WHICH} gnatmake > /dev/null 2>&1; then \
 X				${ECHO_CMD} "t"; \
 X			else \
 X				${ECHO_CMD} ""; \
 X			fi
 X.if empty(have_gnat)
 XBUILD_DEPENDS+=	${LOCALBASE}/bin/gcc34/gcc34:${PORTSDIR}/lang/gnat-gcc34
 XCONFIGURE_ENV+=	PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
 XMAKE_ENV+=		PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34
 X.endif
 X
 Xpre-everything::
 X	@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
 X
 X# Append ' [FreeBSD]' to gcc version string.
 Xpost-patch:
 X	@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
 X	    ${srcdir}/gcc/version.c
 X
 Xpre-configure:
 X	cd ${srcdir} ; contrib/gcc_update --touch
 X	@${RM} -f ${srcdir}/gcc/*/*.info*
 X	@${MKDIR} ${CONFIGURE_WRKSRC}
 X
 Xpost-build:
 X	@${ECHO_MSG} "Consider running 'make check' before 'make install', especially"
 X	@${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
 X	@${ECHO_MSG} "This assumes that you have the dejagnu port installed."
 X
 Xcheck: build
 X	cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
 X
 Xpost-install:
 X	${LN} -s ${PREFIX}/bin/gcc${gcc_suffix}/gcc${gcc_suffix} \
 X		${PREFIX}/bin/gcc${gcc_suffix}/gcc
 X	# Man pages can only be generated if Perl >= 5.6 is installed; fake them otherwise.
 X	for mp in ${_MANPAGES}; do \
 X		${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
 X	done
 X	# Version FSF funding and licensing manuals.
 X	for mp in ${fsf_mans}; do \
 X		${MV} -f ${PREFIX}/man/man7/$${mp}.7 \
 X			${PREFIX}/man/man7/$${mp}${fsf_suffix}.7; \
 X	done
 X	# Save the runaway header.
 X	${MV} -f ${PREFIX}/include/mf-runtime.h \
 X	         ${targlib}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include
 X	# Remove libtool library files.
 X	${RM} -f ${targlib}/*.la
 X	# Add target libraries and include files to packaging list.
 X	${RM} -f ${WRKDIR}/PLIST.lib
 X	for d in ${targlib:S/^${PREFIX}\///} ${targlib:S/^${PREFIX}\///:S/lib/libexec/}; do \
 X		cd ${PREFIX} ; \
 X		if [ -d $${d} ]; then \
 X			${FIND} $${d} -type f -o -type l >>${WRKDIR}/PLIST.lib ; \
 X			${FIND} $${d} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ; \
 X		fi ; \
 X	done
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
 X	cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
 X
 X.include <bsd.port.post.mk>
 END-of-gnat-gcc41/Makefile
 echo x - gnat-gcc41/pkg-plist
 sed 's/^X//' >gnat-gcc41/pkg-plist << 'END-of-gnat-gcc41/pkg-plist'
 Xbin/gcc%%SUFFIX%%/cpp%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gcc
 Xbin/gcc%%SUFFIX%%/gcc%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gccbug%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gcov%%SUFFIX%%
 Xbin/gcc%%SUFFIX%%/gnat
 Xbin/gcc%%SUFFIX%%/gnatbind
 Xbin/gcc%%SUFFIX%%/gnatbl
 Xbin/gcc%%SUFFIX%%/gnatchop
 Xbin/gcc%%SUFFIX%%/gnatclean
 Xbin/gcc%%SUFFIX%%/gnatfind
 Xbin/gcc%%SUFFIX%%/gnatkr
 Xbin/gcc%%SUFFIX%%/gnatlink
 Xbin/gcc%%SUFFIX%%/gnatls
 Xbin/gcc%%SUFFIX%%/gnatmake
 Xbin/gcc%%SUFFIX%%/gnatname
 Xbin/gcc%%SUFFIX%%/gnatprep
 Xbin/gcc%%SUFFIX%%/gnatxref
 Xbin/gcc%%SUFFIX%%/gprmake
 Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc-%%GCC_VER%%
 Xbin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc%%SUFFIX%%
 Xinfo/gcc%%SUFFIX%%/dir
 X@dirrm bin/gcc%%SUFFIX%%
 X@comment Insert PLIST.lib here
 END-of-gnat-gcc41/pkg-plist
 echo x - gnat-gcc41/pkg-descr
 sed 's/^X//' >gnat-gcc41/pkg-descr << 'END-of-gnat-gcc41/pkg-descr'
 XThe GNU Ada compiler system built from GCC 4.1.2.
 X
 XPlease add ${PREFIX}/bin/gcc41 to your PATH variable
 Xbefore using this port.
 X
 XWWW: http://gcc.gnu.org/
 END-of-gnat-gcc41/pkg-descr
 echo x - gnat-gcc41/distinfo
 sed 's/^X//' >gnat-gcc41/distinfo << 'END-of-gnat-gcc41/distinfo'
 XMD5 (gcc-core-4.1-20060818.tar.bz2) = e450b204b83de10ea971e2aeda24e678
 XSHA256 (gcc-core-4.1-20060818.tar.bz2) = e6cc4b93bb55f3b1b0e10d170cf676d722948d096b0af29c0a526eddadda3d53
 XSIZE (gcc-core-4.1-20060818.tar.bz2) = 14957673
 XMD5 (gcc-ada-4.1-20060818.tar.bz2) = 411397607272a36d2cafa40b78c39bdf
 XSHA256 (gcc-ada-4.1-20060818.tar.bz2) = 8b6c2c0292e1b9524c3a930d6949fbdebe367d420c4298f9b2661d14ce2bc819
 XSIZE (gcc-ada-4.1-20060818.tar.bz2) = 4628445
 XMD5 (gcc-testsuite-4.1-20060818.tar.bz2) = 27d1ba3833f51ca9b34342e4a07b39a4
 XSHA256 (gcc-testsuite-4.1-20060818.tar.bz2) = cdb4a07f40102f4fe207e29b094cd9ca47798c40083992d186a9731ca992b265
 XSIZE (gcc-testsuite-4.1-20060818.tar.bz2) = 3567830
 END-of-gnat-gcc41/distinfo
 exit
 
 
 --------------020309010501060906000401--

From: Boris Samorodov <bsam@ipt.ru>
To: Karel Miklav <karel@lovetemple.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler?Gcc=INBOX.Sent
Date: Thu, 31 Aug 2006 21:44:53 +0400

 On Thu, 31 Aug 2006 17:34:02 +0200 Karel Miklav wrote:
 > Boris B. Samorodov wrote:
 > > Currently I see 5 issues at the port. The two of them may be solved
 > > as of PR/99993. Here are the remaining:
 > >
 > > 1. The port installs MAN7 files with the same name as lang/gnat-gcc34
 > >    does: fsf-funding.7, gfdl.7, gpl.7.
 > >
 > > 2. The port overwrites the file /usr/local/libdata/ldconfig/gnat-gcc
 > >    which is installed by lang/gnat-gcc34 while builded to bootstrap
 > >    the current port.
 > >
 > > 3. The distinfo file seems to be overloaded.
 
 > All the issues are resolved in this version, please take a look.
 
 That's great!
 
 
 I'm just curious, why did you remove gcc-testsuite from gnat-gcc34 but
 leave it for gnat-gcc41?
 
 
 And just one issue. It happens only when "make install" but not when
 "pkg_add":
 -----
 # Version FSF funding and licensing manuals.
 for mp in fsf-funding gfdl gpl; do  /bin/mv -f /usr/local/man/man7/${mp}.7  /usr/local/man/man7/${mp}-gnat-gcc41.7;  done
 -----
 
 That leads to move existing manuals (installed at least for
 gnat-gcc34). Hence those files are missing when deletting
 gnat-gcc34. May be you can try to first rename them and only then
 install?
 
 Generally, it's not The Right Thing to do any manipulations with files
 at PREFIX. All such things should be done at WRKSRC.
 
 Other than that is OK. The port is almost ready for a commit, thanks!
 
 
 WBR
 -- 
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone & Internet SP
 FreeBSD committer, http://www.FreeBSD.org The Power To Serve

From: Karel Miklav <karel@lovetemple.net>
To: Boris Samorodov <bsam@ipt.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler?Gcc=INBOX.Sent
Date: Thu, 31 Aug 2006 21:01:24 +0200

 Boris Samorodov wrote:
 > I'm just curious, why did you remove gcc-testsuite from gnat-gcc34
 > but leave it for gnat-gcc41?
 
 I just wanted to make a clean bootstrap compiler and succesfully
 building GCC 4.1 and 4.2 is good enough test for me. I did not remove
 the suite either, it's a separate file just like fortran or java.
 And seeing test results for GNAT in GCC 3.4 would not make you happy
 I guess :)
 
 > And just one issue. It happens only when "make install" but not when 
 > "pkg_add": ----- # Version FSF funding and licensing manuals. for mp
 > in fsf-funding gfdl gpl; do  /bin/mv -f
 /usr/local/man/man7/${mp}.7  /usr/local/man/man7/${mp}-gnat-gcc41.7;  done
 > -----
 > 
 > That leads to move existing manuals (installed at least for 
 > gnat-gcc34). Hence those files are missing when deletting gnat-gcc34.
 > May be you can try to first rename them and only then install?
 > 
 > Generally, it's not The Right Thing to do any manipulations with
 > files at PREFIX. All such things should be done at WRKSRC.
 
 Agreed, however GCC ports where I learned things do just that so
 I hope this is not a showstopper. I've posted a patch for gnat-gcc34
 regarding this issue before but forgot to CC to you. Please check it
 out (http://www.freebsd.org/cgi/query-pr.cgi?pr=102727) and let me
 know if solving the problem this way would be acceptable.
 
 --
 
 Regards, Karel

From: Boris Samorodov <bsam@ipt.ru>
To: Karel Miklav <karel@lovetemple.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler?Gcc=INBOX.Sent
Date: Fri, 01 Sep 2006 00:51:24 +0400

 On Thu, 31 Aug 2006 21:01:24 +0200 Karel Miklav wrote:
 > Boris Samorodov wrote:
 
 > > And just one issue. It happens only when "make install" but not when
 > > "pkg_add": ----- # Version FSF funding and licensing manuals. for mp
 > > in fsf-funding gfdl gpl; do  /bin/mv -f
 > /usr/local/man/man7/${mp}.7  /usr/local/man/man7/${mp}-gnat-gcc41.7;  done
 > > -----
 > >
 > > That leads to move existing manuals (installed at least for
 > > gnat-gcc34). Hence those files are missing when deletting
 > > gnat-gcc34.
 > > May be you can try to first rename them and only then install?
 > >
 > > Generally, it's not The Right Thing to do any manipulations with
 > > files at PREFIX. All such things should be done at WRKSRC.
 
 > Agreed, however GCC ports where I learned things do just that so
 > I hope this is not a showstopper. I've posted a patch for gnat-gcc34
 > regarding this issue before but forgot to CC to you. Please check it
 > out (http://www.freebsd.org/cgi/query-pr.cgi?pr=102727) and let me
 
 OK, I took it but I'll take a look at it tomorrow.
 
 > know if solving the problem this way would be acceptable.
 
 The port building/testing will be OK now. Nevertheless, I think that
 it will be good to rewrite this part in the future.
 
 
 WBR
 -- 
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone & Internet SP
 FreeBSD committer, http://www.FreeBSD.org The Power To Serve
State-Changed-From-To: feedback->closed 
State-Changed-By: bsam 
State-Changed-When: Mon Sep 4 16:31:43 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

Since PR/101809 is only a cosmetic change to bsd.ports.mk and there souldn't 
be errors at pointyhat when building the port for 4.x, the BROKEN message was 
removed as well. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=100038 

From: John Merryweather Cooper <john_m_cooper@yahoo.com>
To: bug-followup@FreeBSD.org,  karel@lovetemple.net
Cc:  
Subject: Re: ports/100038: New port: lang/gnat-gcc41 GNU Ada compiler
Date: Mon, 15 Oct 2007 23:43:11 -0700

 I note that the original version of this PR had support for an amd64 
 build.  Currently, only Debian Linux appears to have a working amd64.  
 Any chance of getting a working FreeBSD amd64 GNAT?  I'd be glad to help.
 
 jmc
 
>Unformatted:
