1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Remove lang/gnat-gcc41 which is a couple of versions behind upstream and

based on GCC 4.1 which is not maintained any more, either.

Approved by:	maintainer
This commit is contained in:
Gerald Pfeifer 2010-01-24 13:22:24 +00:00
parent 9af4c7e904
commit b5434da8ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248467
7 changed files with 0 additions and 230 deletions

View File

@ -102,7 +102,6 @@
SUBDIR += gnat-doc-ps
SUBDIR += gnat-doc-texi
SUBDIR += gnat-doc-txt
SUBDIR += gnat-gcc41
SUBDIR += gnat-gcc42
SUBDIR += gnat-gcc43
SUBDIR += gnat-gcc44

View File

@ -1,156 +0,0 @@
# ex:ts=8
#
# Ports collection makefile for: gnat-gcc
# Date created: 22 Jun 2006
# Whom: Karel Miklav <karel@lovetemple.net>
#
# $FreeBSD$
#
PORTNAME= gnat-gcc
PORTVERSION= 4.1.2
PORTREVISION= 4
CATEGORIES= lang
MASTER_SITES= GCC/releases/gcc-${PORTVERSION} \
CENKES:boot \
http://lovetemple.net/data/:boot
DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
gcc-ada-${PORTVERSION}${EXTRACT_SUFX} \
gcc-testsuite-${PORTVERSION}${EXTRACT_SUFX} \
gnat-gcc41-boot-${boot_stamp}.tbz:boot
MAINTAINER= karel@lovetemple.net
COMMENT= The GNU Ada Compiler system
ONLY_FOR_ARCHS= i386
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5_BUILD= yes # Needed for man pages.
USE_BISON= build
WRKSRC= ${WRKDIR}/build
MAN1= cpp${gcc_suffix}.1 \
gcc${gcc_suffix}.1 \
gcov${gcc_suffix}.1
MAN7= ${fsf_mans:S/$/${fsf_suffix}.7/}
NO_MANCOMPRESS= yes # XXX 5-cur and releng4 problems?
INFO= gcc${gcc_suffix}/cpp \
gcc${gcc_suffix}/cppinternals \
gcc${gcc_suffix}/gcc \
gcc${gcc_suffix}/gccinstall \
gcc${gcc_suffix}/gccint \
gcc${gcc_suffix}/gnat-style \
gcc${gcc_suffix}/gnat_rm \
gcc${gcc_suffix}/gnat_ugn_unw
LATEST_LINK= ${PORTNAME}${gcc_suffix}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000
BROKEN= does not fetch
.endif
srcdir= ${WRKDIR}/gcc-${PORTVERSION}
gcc_suffix= 41
fsf_mans= fsf-funding gfdl gpl
fsf_suffix= -${PORTNAME}${gcc_suffix}
targlib= ${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
gcc_link= ${PREFIX}/bin/gcc${gcc_suffix}/gcc
boot_stamp= ${ARCH}-freebsd-${OSREL:C/\.[0-9.]*//}
check_target= check # XXX
PATCH_WRKSRC= ${srcdir}
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../${srcdir:C/${WRKDIR}//}/configure
CONFIGURE_ARGS= --enable-languages="c,ada" \
--disable-nls \
--with-system-zlib \
--with-libiconv-prefix=${LOCALBASE} \
--program-suffix=${gcc_suffix} \
--bindir=${PREFIX}/bin/gcc${gcc_suffix} \
--libdir=${targlib}
ALL_TARGET= bootstrap-lean
MAKE_ENV+= MAKEINFOFLAGS="--no-split" PTHREAD_LIBS=${PTHREAD_LIBS}
PLIST_SUB= GCC_VER=${PORTVERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${gcc_suffix}
USE_LDCONFIG= ${targlib}
# Prepare environment for the bootstrap compiler.
CC= ${WRKDIR}/boot/bin/gcc
build_env= PTHREAD_LIBS=${PTHREAD_LIBS} \
PATH=${WRKDIR}/boot/bin:${WRKDIR}/boot/libexec:${PATH}
CONFIGURE_ENV+= ${build_env} CC="${CC}"
MAKE_ENV+= ${build_env}
pre-everything::
@${ECHO_MSG} -n "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} "
@${ECHO_MSG} "${OSREL} target=${CONFIGURE_TARGET}"
# Append ' [FreeBSD]' to the gcc version string.
post-patch:
@${REINPLACE_CMD} \
-e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
${srcdir}/gcc/version.c
pre-configure:
cd ${srcdir} ; contrib/gcc_update --touch
@${RM} -f ${srcdir}/gcc/*/*.info*
@${MKDIR} ${CONFIGURE_WRKSRC}
post-build:
@${ECHO_MSG} -n "Consider running 'make check' before 'make install', "
@${ECHO_MSG} -n "especially if you have not performed this build on "
@${ECHO_MSG} -n "-STABLE or -CURRENT. This assumes that you have "
@${ECHO_MSG} "dejagnu and autogen ports installed."
check: build
cd ${WRKSRC} && \
export RUNTESTFLAGS='--target_board ''unix{-pthread}''' && \
${GMAKE} -sk ${check_target}
post-install:
# Create a gcc link.
${RM} -f ${gcc_link}
${LN} -s ${PREFIX}/bin/gcc${gcc_suffix}/gcc${gcc_suffix} ${gcc_link}
# Man pages can only be generated if Perl >= 5.6 is installed; fake them otherwise.
for mp in ${_MANPAGES}; do \
${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
done
# Version FSF funding and licensing manuals. XXX Fix before it happens!
for mp in ${fsf_mans}; do \
${MV} -f ${PREFIX}/man/man7/$${mp}.7 \
${PREFIX}/man/man7/$${mp}${fsf_suffix}.7; \
done
# Save the runaway header.
${MV} -f ${PREFIX}/include/mf-runtime.h \
${targlib}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include
# Remove libtool library files.
${RM} -f ${targlib}/*.la
# Prepare a temporary list of installed libraries and include files.
${RM} -f ${WRKDIR}/PLIST.lib
for d in ${targlib:S/^${PREFIX}\///} ${targlib:S/^${PREFIX}\///:S/lib/libexec/}; do \
cd ${PREFIX}; \
if [ -d $${d} ]; then \
${FIND} $${d} -type f -o -type l >>${WRKDIR}/PLIST.lib; \
${FIND} $${d} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib; \
fi; \
done
# Following directories should be removed on deinstal if empty. Add them to the temporary list.
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib
# Insert the temporary list in the packing list.
cd ${WRKDIR}; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
MD5 (gcc-core-4.1.2.tar.bz2) = 2af3fb599635219171c6ae1f3034888a
SHA256 (gcc-core-4.1.2.tar.bz2) = 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d
SIZE (gcc-core-4.1.2.tar.bz2) = 17485561
MD5 (gcc-ada-4.1.2.tar.bz2) = 37fe23fcc8a8388af01826ed8e64f521
SHA256 (gcc-ada-4.1.2.tar.bz2) = 703125c4d033c666b52db2aeee0a05e3461467fe8ff6e5e588b5cdb8c6928bb0
SIZE (gcc-ada-4.1.2.tar.bz2) = 4589609
MD5 (gcc-testsuite-4.1.2.tar.bz2) = 4a5fb1318917233aa508ef2869ce87ee
SHA256 (gcc-testsuite-4.1.2.tar.bz2) = 515bd9bcee7bf59a3b74133d91e3cefc6d3a80f7ec347cd94446262d25824a68
SIZE (gcc-testsuite-4.1.2.tar.bz2) = 3604451
MD5 (gnat-gcc41-boot-i386-freebsd-4.tbz) = a9848cbeb6a0dca57cbe312e1546b79e
SIZE (gnat-gcc41-boot-i386-freebsd-4.tbz) = 11508394
MD5 (gnat-gcc41-boot-i386-freebsd-5.tbz) = e439eaefcafdf6056896a16a89671a9e
SHA256 (gnat-gcc41-boot-i386-freebsd-5.tbz) = 16b00882f06b4c3813a379ad6c089c3c70c17cdcbb4d07ca33d390c906b5dd16
SIZE (gnat-gcc41-boot-i386-freebsd-5.tbz) = 11503432
MD5 (gnat-gcc41-boot-i386-freebsd-6.tbz) = 155c930f11f04f04c32f5f9371649352
SHA256 (gnat-gcc41-boot-i386-freebsd-6.tbz) = 7b3eae94a9dadf901ed55bf660f24f34ecb19f2d48245fe352a6137366dc5fac
SIZE (gnat-gcc41-boot-i386-freebsd-6.tbz) = 11840609
MD5 (gnat-gcc41-boot-i386-freebsd-7.tbz) = 3d35eb856a515fb2aeb665c8a81e7a95
SHA256 (gnat-gcc41-boot-i386-freebsd-7.tbz) = e8bab1a79c372dda9abc40129c6ee8dfd72503430e865bec8396d491e78a292f
SIZE (gnat-gcc41-boot-i386-freebsd-7.tbz) = 11606581

View File

@ -1,11 +0,0 @@
--- gcc/ada/Makefile.in.orig Fri Sep 8 00:21:56 2006
+++ gcc/ada/Makefile.in Fri Sep 8 00:27:47 2006
@@ -742,7 +742,7 @@
mlib-tgt.adb<mlib-tgt-linux.adb
GNATLIB_SHARED = gnatlib-shared-dual
- THREADSLIB= -lc_r
+ THREADSLIB= ${PTHREAD_LIBS}
GMEM_LIB = gmemlib
PREFIX_OBJS = $(PREFIX_REAL_OBJS)
LIBRARY_VERSION := $(LIB_VERSION)

View File

@ -1,12 +0,0 @@
--- gcc/gengtype-yacc.y.orig Fri Sep 20 00:33:24 2002
+++ gcc/gengtype-yacc.y Tue Apr 22 09:11:27 2003
@@ -24,6 +24,9 @@
#include "system.h"
#include "gengtype.h"
#define YYERROR_VERBOSE
+
+#define malloc xmalloc
+#define realloc xrealloc
%}
%union {

View File

@ -1,6 +0,0 @@
The GNU Ada compiler system built from GCC 4.1.2.
Please add ${PREFIX}/bin/gcc41 to your PATH variable
before using this port.
WWW: http://gcc.gnu.org/

View File

@ -1,24 +0,0 @@
bin/gcc%%SUFFIX%%/cpp%%SUFFIX%%
bin/gcc%%SUFFIX%%/gcc
bin/gcc%%SUFFIX%%/gcc%%SUFFIX%%
bin/gcc%%SUFFIX%%/gccbug%%SUFFIX%%
bin/gcc%%SUFFIX%%/gcov%%SUFFIX%%
bin/gcc%%SUFFIX%%/gnat
bin/gcc%%SUFFIX%%/gnatbind
bin/gcc%%SUFFIX%%/gnatbl
bin/gcc%%SUFFIX%%/gnatchop
bin/gcc%%SUFFIX%%/gnatclean
bin/gcc%%SUFFIX%%/gnatfind
bin/gcc%%SUFFIX%%/gnatkr
bin/gcc%%SUFFIX%%/gnatlink
bin/gcc%%SUFFIX%%/gnatls
bin/gcc%%SUFFIX%%/gnatmake
bin/gcc%%SUFFIX%%/gnatname
bin/gcc%%SUFFIX%%/gnatprep
bin/gcc%%SUFFIX%%/gnatxref
bin/gcc%%SUFFIX%%/gprmake
bin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/gcc%%SUFFIX%%/%%GNU_HOST%%-gcc%%SUFFIX%%
info/gcc%%SUFFIX%%/dir
@dirrm bin/gcc%%SUFFIX%%
@comment Insert PLIST.lib here