aboutsummaryrefslogtreecommitdiffstats
path: root/lang/llvm-gcc4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/llvm-gcc4')
-rw-r--r--lang/llvm-gcc4/Makefile89
-rw-r--r--lang/llvm-gcc4/distinfo2
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_Makefile.in24
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_common.opt16
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_config.gcc31
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c11
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h35
-rw-r--r--lang/llvm-gcc4/pkg-descr14
-rw-r--r--lang/llvm-gcc4/pkg-plist15
9 files changed, 0 insertions, 237 deletions
diff --git a/lang/llvm-gcc4/Makefile b/lang/llvm-gcc4/Makefile
deleted file mode 100644
index 537616baff1e..000000000000
--- a/lang/llvm-gcc4/Makefile
+++ /dev/null
@@ -1,89 +0,0 @@
-# New ports collection makefile for: llvm-gcc4
-# Date created: 25 Jul 2007
-# Whom: Max Khon
-#
-# $FreeBSD$
-#
-
-PORTNAME= gcc4
-PORTVERSION= 2.9
-CATEGORIES= lang devel
-MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
-PKGNAMEPREFIX= llvm-
-DISTNAME= ${PKGNAMEPREFIX}gcc-4.2-${PORTVERSION}.source
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= brooks@FreeBSD.org
-COMMENT= A gcc4 frontend for LLVM
-
-BUILD_DEPENDS+= llc:${PORTSDIR}/devel/llvm29
-BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
-RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
-
-CONFLICTS= llvm-devel-[0-9]* llvm-2.[0-5]*
-
-DEPRECATED= Development ended upstream. Switch to dragonegg once available
-EXPIRATION_DATE= 2013-02-01
-
-GNU_CONFIGURE= yes
-USE_BISON= build
-USE_GCC= 4.2+
-USE_GMAKE= yes
-USE_ICONV= yes
-USE_PERL5_BUILD=yes
-
-GCC_VER= 4.2.1
-WRKSRC= ${WRKDIR}/${DISTNAME}/obj
-TARGLIB= ${PREFIX}/lib/llvm-gcc-${PORTVERSION}
-CONFIGURE_SCRIPT= ../configure
-CONFIGURE_ARGS= --enable-llvm=${LOCALBASE} \
- --enable-languages=c,c++ \
- --disable-nls \
- --with-system-zlib \
- --with-as=${LOCALBASE}/bin/as \
- --with-libiconv-prefix=${LOCALBASE} \
- --program-prefix=llvm- \
- --libdir=${TARGLIB} \
- --with-gxx-include-dir=${TARGLIB}/include/c++ \
- --libexecdir=${TARGLIB} \
- --infodir=${PREFIX}/llvm-gcc
-.if defined(MAINTAINER_MODE)
-CONFIGURE_ARGS+= --enable-checking
-.endif
-PLIST_SUB= GCC_VER=${GCC_VER} \
- GNU_HOST=${CONFIGURE_TARGET}
-INFO= llvm-gcc/cpp \
- llvm-gcc/cppinternals \
- llvm-gcc/gcc \
- llvm-gcc/gccinstall \
- llvm-gcc/gccint \
- llvm-gcc/libgomp
-MAN1= llvm-cpp.1 llvm-g++.1 llvm-gcc.1 llvm-gcov.1
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
-CONFIGURE_ARGS+= --disable-shared
-.endif
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-IGNORE= does not install: not yet supported on this architecture
-.endif
-
-post-extract:
- @${MKDIR} ${WRKSRC}
-
-post-install:
- # Add target libraries and include files to packaging list.
- ${RM} -f ${WRKDIR}/PLIST.lib
-.for d in ${TARGLIB:S/^${PREFIX}\///}
- 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
- cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/lang/llvm-gcc4/distinfo b/lang/llvm-gcc4/distinfo
deleted file mode 100644
index 9312812cf3a8..000000000000
--- a/lang/llvm-gcc4/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (llvm-gcc-4.2-2.9.source.tgz) = 2ad04e0bbedb9781aa068e216d455b92ba5e577db6ae24aef9ac449cb2eb7f54
-SIZE (llvm-gcc-4.2-2.9.source.tgz) = 53637392
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in b/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in
deleted file mode 100644
index cbd6055f1070..000000000000
--- a/lang/llvm-gcc4/files/patch-.._gcc_Makefile.in
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- ../gcc/Makefile.in.orig
-+++ ../gcc/Makefile.in
-@@ -3805,7 +3805,7 @@
- echo rm -f $(@D)/*
- $(TEXI2HTML) -I $(abs_docdir) -I $(abs_docdir)/include -o $(@D) $<
-
--MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7
-+MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1
-
- generated-manpages: man
-
-@@ -4118,9 +4118,6 @@
- $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \
- $(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \
- $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
-- $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
-- $(DESTDIR)$(man7dir)/gfdl$(man7ext) \
-- $(DESTDIR)$(man7dir)/gpl$(man7ext)
-
- $(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
- -rm -f $@
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_common.opt b/lang/llvm-gcc4/files/patch-.._gcc_common.opt
deleted file mode 100644
index 22cdc80ddb4f..000000000000
--- a/lang/llvm-gcc4/files/patch-.._gcc_common.opt
+++ /dev/null
@@ -1,16 +0,0 @@
-
-$FreeBSD$
-
---- ../gcc/common.opt.orig
-+++ ../gcc/common.opt
-@@ -730,8 +730,8 @@
-
- ; APPLE LOCAL begin optimization pragmas 3124235/3420242
- fmath-errno
--Common Report Var(flag_errno_math) Init(1) PerFunc
--Set errno after built-in math functions
-+Common Report Var(flag_errno_math) Init(0) PerFunc
-+FreeBSD does not set errno after built-in math functions
- ; APPLE LOCAL end optimization pragmas 3124235/3420242
-
- fmem-report
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc b/lang/llvm-gcc4/files/patch-.._gcc_config.gcc
deleted file mode 100644
index 092883adc7a2..000000000000
--- a/lang/llvm-gcc4/files/patch-.._gcc_config.gcc
+++ /dev/null
@@ -1,31 +0,0 @@
---- ../gcc/config.gcc.orig 2011-02-23 22:07:15.000000000 +0000
-+++ ../gcc/config.gcc 2011-02-24 10:11:03.000000000 +0000
-@@ -1131,9 +1131,11 @@
- ;;
- i[34567]86-*-freebsd*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
-+ tmake_file="$(tmake_file) i386/t-crtstuff"
- ;;
- x86_64-*-freebsd*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
-+ tmake_file="$(tmake_file) i386/t-crtstuff"
- ;;
- i[34567]86-*-netbsdelf*)
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
-@@ -2629,6 +2631,16 @@
- # A Cirrus ARM variant.
- with_cpu="ep9312"
- ;;
-+ i386-*-freebsd*)
-+ if test $fbsd_major -ge 6; then
-+ arch=i486
-+ else
-+ arch=i386
-+ fi
-+ cpu=generic
-+ arch_without_sse2=yes
-+ arch_without_64bit=yes
-+ ;;
- # APPLE LOCAL begin mainline 2006-04-19 4434601
- i386-*-*)
- with_cpu=i386
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c b/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c
deleted file mode 100644
index 28c5e57b8d69..000000000000
--- a/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../gcc/config/i386/i386.c.orig 2011-02-20 21:45:59.000000000 +0000
-+++ ../gcc/config/i386/i386.c 2011-02-20 21:47:35.000000000 +0000
-@@ -1762,7 +1762,7 @@
- "-mtune=generic instead as appropriate.");
-
- if (!ix86_arch_string)
-- ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386";
-+ ix86_arch_string = TARGET_64BIT ? "x86-64" : "i486";
- /* APPLE LOCAL begin mainline */
- else
- ix86_arch_specified = 1;
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h b/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h
deleted file mode 100644
index 6f8f3dd0a15a..000000000000
--- a/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h
+++ /dev/null
@@ -1,35 +0,0 @@
---- ../gcc/gthr-posix.h 2007/08/14 02:45:23 171825
-+++ ../gcc/gthr-posix.h 2008/04/21 20:40:42 178388
-@@ -152,9 +152,12 @@
- it is passed so we cannot pretend that the interface is active if -pthreads
- is not specified. On Solaris 2.5.1, the interface is not exposed at all so
- we need to play the usual game with weak symbols. On Solaris 10 and up, a
-- working interface is always exposed. */
-+ working interface is always exposed. On FreeBSD 6 and later, libc also
-+ exposes a dummy POSIX threads interface, similar to what Solaris 2.6 up
-+ to 9 does. FreeBSD >= 700014 even provides a pthread_cancel stub in libc,
-+ which means the alternate __gthread_active_p below cannot be used there. */
-
--#if defined(__sun) && defined(__svr4__)
-+#if defined(__FreeBSD__) || (defined(__sun) && defined(__svr4__))
-
- static volatile int __gthread_active = -1;
-
-@@ -197,7 +200,7 @@
- return __gthread_active_latest_value != 0;
- }
-
--#else /* not Solaris */
-+#else /* neither FreeBSD nor Solaris */
-
- static inline int
- __gthread_active_p (void)
-@@ -207,7 +210,7 @@
- return __gthread_active_ptr != 0;
- }
-
--#endif /* Solaris */
-+#endif /* FreeBSD or Solaris */
-
- #else /* not SUPPORTS_WEAK */
-
diff --git a/lang/llvm-gcc4/pkg-descr b/lang/llvm-gcc4/pkg-descr
deleted file mode 100644
index 1c7890cf797a..000000000000
--- a/lang/llvm-gcc4/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-llvm-gcc is the LLVM C front end. It is a modified version of gcc
-that compiles C/C++/ObjC programs into native objects, LLVM bitcode or
-LLVM assembly language, depending upon the options.
-
-By default, llvm-gcc compiles to native objects just like GCC does.
-If the -emit-llvm option is given then it will generate LLVM bitcode
-files instead. If -S (assembly) is also given, then it will generate
-LLVM assembly.
-
-Being derived from the GNU Compiler Collection, llvm-gcc has many of
-gcc's features and accepts most of gcc's options. It handles a number
-of gcc's extensions to the C programming language.
-
-WWW: http://llvm.org/
diff --git a/lang/llvm-gcc4/pkg-plist b/lang/llvm-gcc4/pkg-plist
deleted file mode 100644
index ad3117fc425a..000000000000
--- a/lang/llvm-gcc4/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-@comment $FreeBSD$
-bin/%%GNU_HOST%%-cpp-%%GCC_VER%%
-bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
-bin/%%GNU_HOST%%-llvm-c++
-bin/%%GNU_HOST%%-llvm-cpp
-bin/%%GNU_HOST%%-llvm-g++
-bin/%%GNU_HOST%%-llvm-gcc
-bin/llvm-c++
-bin/llvm-cpp
-bin/llvm-g++
-bin/llvm-gcc
-bin/llvm-gccbug
-bin/llvm-gcov
-info/llvm-gcc/dir
-@comment Insert PLIST.lib here