1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Remove lang/gcc-ooo which is no longer used by the OpenOffice ports and

superseded by lang/gcc43 and later.
This commit is contained in:
Gerald Pfeifer 2009-07-18 20:05:36 +00:00
parent 43b0e80ad6
commit c079ebc850
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238030
9 changed files with 1 additions and 234 deletions

1
MOVED
View File

@ -4119,3 +4119,4 @@ databases/phpminadmin|databases/adminer|2009-07-14|Project was renamed
net-mgmt/net-snmp53||2009-07-13|Has expired: Use net-mgmt/net-snmp
www/firefox-devel||2009-07-13|Please use www/firefox3 or www/firefox35
R-sp|R-cran-sp|2009-07-17|Port was renamed
lang/gcc-ooo|lang/gcc43|2009-07-18|Not used by OpenOffice any more, superseded by gcc43

View File

@ -87,7 +87,6 @@
SUBDIR += gambit-c
SUBDIR += gauche
SUBDIR += gawk
SUBDIR += gcc-ooo
SUBDIR += gcc295
SUBDIR += gcc34
SUBDIR += gcc42

View File

@ -1,130 +0,0 @@
# ex:ts=8
# Ports collection makefile for: egcs
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
# $FreeBSD$
#
PORTNAME= gcc-ooo
PORTVERSION= 3.4.1
PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/gcc-${PORTVERSION}
DISTFILES= \
gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
gcc-g++-${PORTVERSION}${EXTRACT_SUFX} \
gcc-testsuite-${PORTVERSION}${EXTRACT_SUFX}
PATCH_SITES+= http://www.nedprod.com/TnFOX/patches/
PATCHFILES+= GCC3.4.0VisibilityPatch2.diff
PATCH_DIST_STRIP= -p1
MAINTAINER?= openoffice@FreeBSD.org
COMMENT?= GNU Compiler Collection for OpenOffice.org
NOT_FOR_ARCHS= ia64
NO_LATEST_LINK= yes
USE_BISON= build
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
SRCDIR= ${WRKDIR}/gcc-${PORTVERSION}
PATCH_WRKSRC= ${SRCDIR}
WRKSRC= ${WRKDIR}/build
SUFFIX= -ooo
TARGLIB= ${PREFIX}/gcc-ooo/${CONFIGURE_TARGET}/${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls \
--with-system-zlib \
--with-libiconv-prefix=${LOCALBASE} \
--program-suffix=${SUFFIX} \
--libdir=${TARGLIB}/lib \
--libexecdir=${TARGLIB}/libexec \
--with-gxx-include-dir=${TARGLIB}/include/c++/
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+= --enable-shared
USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
ALL_TARGET= bootstrap-lean
PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET}
MAN1= cpp${SUFFIX}.1 \
g++${SUFFIX}.1 \
gcc${SUFFIX}.1 \
gcov${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint
pre-everything::
@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
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} "Consider running 'make check' before 'make install', especially"
@${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
@${ECHO_MSG} "This assumes that you have the dejagnu port installed."
check: build
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
post-install: fake-manpages
.for f in c++ gcc g++ cpp gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
if [ -e ${PREFIX}/bin/${f}${SUFFIX} ]; then \
${STRIP_CMD} ${PREFIX}/bin/${f}${SUFFIX}; \
fi
if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \
${MV} -f ${PREFIX}/man/man1/${f}.1 \
${PREFIX}/man/man1/${f}${SUFFIX}.1; \
fi
.endfor
.for d in gcc-ooo
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
.endfor
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
fake-manpages:
# man pages can only be generated if Perl >= 5.6 is installed, so
# fake them on 4.x systems.
.for mp in ${_MANPAGES}
( ${TEST} -e ${mp} || ${TOUCH} ${TOUCH_FLAGS} ${mp} )
.endfor
.include <bsd.port.post.mk>

View File

@ -1,12 +0,0 @@
MD5 (gcc-core-3.4.1.tar.bz2) = 4b05b134baf92457494a0f4a28aa5213
SHA256 (gcc-core-3.4.1.tar.bz2) = f65aa36c8ea17ef25397477cd1d6682c7196956496b01ae19fa1b57ae68450f3
SIZE (gcc-core-3.4.1.tar.bz2) = 12862544
MD5 (gcc-g++-3.4.1.tar.bz2) = 7517c88648883e3d92e1e8525ab823fa
SHA256 (gcc-g++-3.4.1.tar.bz2) = 07f1aa28bd9556524cb196a543fb515c7cc50dd4f988fe4169ddcf83528bc977
SIZE (gcc-g++-3.4.1.tar.bz2) = 2406501
MD5 (gcc-testsuite-3.4.1.tar.bz2) = 641f45606e17db4a3079cb7364a9e295
SHA256 (gcc-testsuite-3.4.1.tar.bz2) = e24fbf35b2b06d811c7bba2311925713a76439695417df1f18d7b6bb04c4404e
SIZE (gcc-testsuite-3.4.1.tar.bz2) = 2600275
MD5 (GCC3.4.0VisibilityPatch2.diff) = d2b2e7d8e2eb265ce445e4e916d83708
SHA256 (GCC3.4.0VisibilityPatch2.diff) = 660fc287d0bae31fc68a736c72360b432783425e8c89069ef7bc81021ce88659
SIZE (GCC3.4.0VisibilityPatch2.diff) = 43952

View File

@ -1,20 +0,0 @@
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html
http://blog.janik.cz/archives/2004-11-23T22_37_37.html
--- gcc/fold-const.c.orig Tue Jun 1 08:15:12 2004
+++ gcc/fold-const.c Wed Nov 24 16:39:02 2004
@@ -3535,7 +3535,13 @@
HOST_WIDE_INT hi;
int prec;
- prec = TYPE_PRECISION (etype);
+ /* For enums the comparison will be done in the underlying type,
+ so using enum's precision is wrong here.
+ Consider e.g. enum { A, B, C, D, E }, low == B and high == D. */
+ if (TREE_CODE (etype) == ENUMERAL_TYPE)
+ prec = GET_MODE_BITSIZE (TYPE_MODE (etype));
+ else
+ prec = TYPE_PRECISION (etype);
if (prec <= HOST_BITS_PER_WIDE_INT)
{
hi = 0;

View File

@ -1,37 +0,0 @@
--- gcc/config/freebsd-spec.h.orig 2004-03-02 17:34:55.000000000 -0500
+++ gcc/config/freebsd-spec.h 2007-12-26 09:17:49.000000000 -0500
@@ -51,7 +51,11 @@
#define FBSD_TARGET_OS_CPP_BUILTINS() \
do \
{ \
- if (FBSD_MAJOR == 6) \
+ if (FBSD_MAJOR == 8) \
+ builtin_define ("__FreeBSD__=8"); \
+ else if (FBSD_MAJOR == 7) \
+ builtin_define ("__FreeBSD__=7"); \
+ else if (FBSD_MAJOR == 6) \
builtin_define ("__FreeBSD__=6"); \
else if (FBSD_MAJOR == 5) \
builtin_define ("__FreeBSD__=5"); \
@@ -130,6 +134,7 @@
}"
#else
#if FBSD_MAJOR >= 5
+#if __FreeBSD_version < 502102 /* upto FreeBSD 5.2.1 */
#define FBSD_LIB_SPEC " \
%{!shared: \
%{!pg: %{pthread:-lc_r} -lc} \
@@ -138,6 +143,13 @@
#else
#define FBSD_LIB_SPEC " \
%{!shared: \
+ %{!pg: %{pthread:-lpthread} -lc} \
+ %{pg: %{pthread:-lpthread_p} -lc_p} \
+ }"
+#endif /* deal with FreeBSD 5.0 - 5.2.1 */
+#else
+#define FBSD_LIB_SPEC " \
+ %{!shared: \
%{!pg: \
%{!pthread:-lc} \
%{pthread:-lc_r}} \

View File

@ -1,13 +0,0 @@
--- gcc/config.gcc.orig 2004-04-21 11:12:35.000000000 -0400
+++ gcc/config.gcc 2007-12-26 09:18:23.000000000 -0500
@@ -400,6 +400,10 @@
tm_defines="${tm_defines} FBSD_MAJOR=5" ;;
*-*-freebsd6 | *-*-freebsd[6].*)
tm_defines="${tm_defines} FBSD_MAJOR=6" ;;
+ *-*-freebsd7 | *-*-freebsd[7].*)
+ tm_defines="${tm_defines} FBSD_MAJOR=7" ;;
+ *-*-freebsd8 | *-*-freebsd[8].*)
+ tm_defines="${tm_defines} FBSD_MAJOR=8" ;;
*)
echo 'Please update *-*-freebsd* in gcc/config.gcc'
exit 1

View File

@ -1,7 +0,0 @@
GCC, the GNU Compiler Collection includes gcc, g++
for OpenOffice.org compilation
This port installs the various front ends as gcc-ooo, and g++-ooo
into the ${PREFIX}/bin directory.
WWW: http://gcc.gnu.org/

View File

@ -1,14 +0,0 @@
@comment $FreeBSD$
bin/c++-ooo
bin/cpp-ooo
bin/g++-ooo
bin/gcc-ooo
bin/gcov-ooo
bin/%%GNU_HOST%%-c++-ooo
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/%%GNU_HOST%%-gcc-ooo
bin/%%GNU_HOST%%-g++-ooo
bin/gccbug-ooo
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-