head	1.27;
access;
symbols
	RELEASE_8_3_0:1.24
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.21
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.19
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10;
locks; strict;
comment	@# @;


1.27
date	2013.02.01.15.02.09;	author svnexp;	state dead;
branches;
next	1.26;

1.26
date	2013.01.10.20.18.08;	author svnexp;	state Exp;
branches;
next	1.25;

1.25
date	2012.11.17.05.58.52;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2011.12.16.02.12.32;	author brooks;	state Exp;
branches;
next	1.23;

1.23
date	2011.11.10.05.38.30;	author linimon;	state Exp;
branches;
next	1.22;

1.22
date	2011.04.29.15.04.29;	author brooks;	state Exp;
branches;
next	1.21;

1.21
date	2010.10.08.14.00.32;	author brooks;	state Exp;
branches;
next	1.20;

1.20
date	2010.04.28.21.05.02;	author brooks;	state Exp;
branches;
next	1.19;

1.19
date	2009.12.08.22.42.02;	author brooks;	state Exp;
branches;
next	1.18;

1.18
date	2009.11.06.21.17.34;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2009.03.04.21.01.10;	author brooks;	state Exp;
branches;
next	1.16;

1.16
date	2008.12.09.10.48.32;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2008.11.16.19.43.07;	author brooks;	state Exp;
branches;
next	1.14;

1.14
date	2008.06.18.17.51.55;	author brooks;	state Exp;
branches;
next	1.13;

1.13
date	2008.06.12.16.17.54;	author brooks;	state Exp;
branches;
next	1.12;

1.12
date	2008.03.28.23.23.34;	author brooks;	state Exp;
branches;
next	1.11;

1.11
date	2008.03.24.22.48.35;	author brooks;	state Exp;
branches;
next	1.10;

1.10
date	2007.10.17.10.12.44;	author ade;	state Exp;
branches;
next	1.9;

1.9
date	2007.10.16.16.32.23;	author fjoe;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.16.04.17.21;	author fjoe;	state Exp;
branches;
next	1.7;

1.7
date	2007.09.22.09.11.59;	author fjoe;	state Exp;
branches;
next	1.6;

1.6
date	2007.08.01.14.58.44;	author fjoe;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.31.10.57.12;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.26.03.26.47;	author fjoe;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.25.20.17.36;	author fjoe;	state Exp;
branches;
next	1.2;

1.2
date	2007.07.25.19.08.15;	author fjoe;	state Exp;
branches;
next	1.1;

1.1
date	2007.07.25.18.56.38;	author fjoe;	state Exp;
branches;
next	;


desc
@@


1.27
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311380
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	llvm-gcc4
# Date created:				25 Jul 2007
# Whom:					Max Khon
#
# $FreeBSD: head/lang/llvm-gcc4/Makefile 310197 2013-01-10 18:31:21Z brooks $
#

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>
@


1.26
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310197
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310197 | brooks | 2013-01-10 18:31:21 +0000 (Thu, 10 Jan 2013) | 3 lines
## SVN ##
## SVN ## Now that I've committed a dragonegg port give llvm-gcc4 and llvm29 three
## SVN ## last weeks to live.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@@


1.25
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/llvm-gcc4/Makefile 300896 2012-07-14 13:54:48Z beat $
d26 1
a26 1
EXPIRATION_DATE=	2012-06-01
@


1.24
log
@Development of llvm-gcc has ended and it does not work with the recently
released LLVM 3.0 release.  Deprecate it and change its dependency to
devel/llvm29.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@Mark broken on powerpc as well as sparc64.  (In fact, on all the tier-2s.)

Hat:		portmgr
@
text
@d19 1
a19 1
BUILD_DEPENDS+=	llc:${PORTSDIR}/devel/llvm
d25 3
@


1.22
log
@Upgrade LLVM, Clang, and llvm-gcc to 2.9.

Add a number of bug fixes from our base gcc to llvm-gcc.[0]

PR:		ports/154927 [0]
Submitted by:	Pedro Giffuni <giffunip at tutopia com> [0]
@
text
@d67 2
a68 2
.if ${ARCH} == "sparc64"
IGNORE=		does not install: not yet supported on sparc64
@


1.21
log
@Upgrade LLVM, Clang, and llvm-gcc to 2.8 release.

The Clang port has now been updated to avoid building LLVM twice.
@
text
@d9 1
a9 1
PORTVERSION=	2.8
@


1.20
log
@Upgrade llvm, clang, and llvm-gcc to the 2.7 release.

Submitted by:	mm (llvm and clang)
@
text
@d9 1
a9 1
PORTVERSION=	2.7
@


1.19
log
@Upgrade to the 2.6 release of llvm-gcc.

This version depends on the binutils port due to lack of functionality
in our current base version as documented in LLVM bug 5004.
http://llvm.org/bugs/show_bug.cgi?id=5004
@
text
@d9 1
a9 1
PORTVERSION=	2.6
d14 1
d33 1
a33 1
WRKSRC=		${WRKDIR}/${DISTNAME:S/gcc-/gcc/}/obj
@


1.18
log
@- Mark BROKEN: does not compile

Reported by:	pointyhat
@
text
@d9 1
a9 1
PORTVERSION=	2.5
d18 3
a20 1
BUILD_DEPENDS=	llc:${PORTSDIR}/devel/llvm
d22 1
a22 1
BROKEN=		does not compile
d39 1
@


1.17
log
@Upgrade llvm and llvm-gcc to the 2.5 release.

See the release notes for details:
http://www.llvm.org/releases/2.5/docs/ReleaseNotes.html
@
text
@d20 2
@


1.16
log
@Does not yet configure on sparc64.

Hat:	portmgr
@
text
@d9 1
a9 1
PORTVERSION=	2.4
d62 1
a62 1
IGNORE=		Does not install: not yet supported on sparc64
@


1.15
log
@Upgrade llvm and llvm-gcc4 ports to the 2.4 release.

PR:		ports/128806, ports/128814
@
text
@d61 4
@


1.14
log
@Fix the build in 6.x by requiring GCC 4.2+.  This may not be exactly the right
string, but half an hour of searching around the gcc source and website sheds
no light on when -Wno-variadic-macros was added.
@
text
@d9 1
a9 1
PORTVERSION=	2.3
@


1.13
log
@Upgrade to LLVM GCC release 2.3.

Take maintainership since this needs to be updated with devel/llvm.

General Makefile cleanup.
@
text
@d22 1
@


1.12
log
@Record (and thus remove on deinstall) libgomp.info.

Reported by:	erwin
@
text
@d9 1
a9 2
PORTVERSION=	2.2
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}.2-${PORTVERSION}.source
d15 1
a15 1
MAINTAINER=	emil@@cs.rmit.edu.au
a24 1
ONLY_FOR_ARCHS=	i386 amd64
d27 2
a28 2
WRKSRC=		${WRKDIR}/${DISTNAME}/build
TARGLIB=	${PREFIX}/lib/gcc-llvm-${PORTVERSION}
d30 9
a38 9
CONFIGURE_ARGS=	--enable-llvm=${LOCALBASE}\
		--enable-languages=c,c++\
		--disable-nls\
		--with-system-zlib\
		--with-libiconv-prefix=${LOCALBASE}\
		--program-prefix=llvm-\
		--libdir=${TARGLIB}\
		--with-gxx-include-dir=${TARGLIB}/include/c++\
		--libexecdir=${TARGLIB}\
d40 4
a43 1
PLIST_SUB=	GCC_VER=${GCC_VER}\
d53 7
a62 9
post-patch:
	@@${REINPLACE_CMD} -e 's,LLVMBASEPATH/Release/bin/llc,LLVMBASEPATH/bin/llc,'\
	   	 ${WRKSRC}/../gcc/configure\
		 ${WRKSRC}/../libcpp/configure
	@@${REINPLACE_CMD}\
	    -e 's,LLVMBINPATH = .*,LLVMBINPATH = @@LLVMBASEPATH@@/bin,'\
	    -e 's,LLVMSRCDIR := .*,LLVMSRCDIR = @@LLVMBASEPATH@@,'\
	    	${WRKSRC}/../gcc/Makefile.in

a63 2
	${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
	         ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
a74 9
.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=	--disable-shared
.else
CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
.endif

@


1.11
log
@Upgrade devel/llvm and lang/llvm-gcc4 to LLVM 2.2.

Switch llvm-gcc4 from the deprecated gcc 4.0 based version to a new gcc
4.2 based release.

See the release notes for details:
http://www.llvm.org/releases/2.2/docs/ReleaseNotes.html
@
text
@d10 1
d48 2
a49 1
		llvm-gcc/gccint
@


1.10
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@d9 1
a9 2
PORTVERSION=	2.1
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}.0-${PORTVERSION}.source
d16 3
a18 1
COMMENT=	gcc4 frontend for LLVM
d27 1
a27 3
BUILD_DEPENDS=	${LOCALBASE}/bin/llc:${PORTSDIR}/devel/llvm

GCC_VER=	4.0.1
a64 2
	${MV} -f ${PREFIX}/include/mf-runtime.h \
	         ${TARGLIB}/gcc/${CONFIGURE_TARGET}/4.0.1/include
@


1.9
log
@Assign maintainership to Emil Mikulic.
@
text
@d10 1
d20 1
a20 1
USE_BISON=	yes
@


1.8
log
@- Update to 2.1

PR:		117011
Submitted by:	Emil Mikulic
@
text
@d15 1
a15 1
MAINTAINER=	fjoe@@FreeBSD.org
@


1.7
log
@Only for i386 and amd64.
@
text
@d9 1
a9 2
PORTVERSION=	2.0
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}.source
d50 3
a53 1
	@@${MKDIR} ${WRKSRC}
@


1.6
log
@Remove fsf-funding.7, gfdl.7 and gpl.7 manpages (as all other gcc* ports do).
@
text
@d24 1
@


1.5
log
@- Package man pages

Reported by:	pointyhat
@
text
@a48 1
MAN7=		fsf-funding.7 gpl.7 gfdl.7
d61 2
@


1.4
log
@Reorder CATEGORIES so that PKGORIGIN is generated correctly.
@
text
@d10 1
d48 2
@


1.3
log
@Fix build on EMT64T: add --disable-shared for this platform as recommended
in README.LLVM.
@
text
@d10 1
a10 1
CATEGORIES=	devel lang
@


1.2
log
@- Add missing dependency on llvm
- Remove debugging garbage
@
text
@a39 1
# --disable-shared
d76 1
@


1.1
log
@New port: llvm-gcc4

lvm-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.
@
text
@d23 2
a24 1
#flex, gm4, llc
@

