aboutsummaryrefslogtreecommitdiffstats
path: root/devel/llvm/Makefile
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2010-04-29 05:05:03 +0800
committerbrooks <brooks@FreeBSD.org>2010-04-29 05:05:03 +0800
commit1bca2449d6943be2937c8359213d0b393fe5e44a (patch)
tree787038623f13a4af80d10900c736645948a99285 /devel/llvm/Makefile
parent00f5a08639bb1a2ac619dceb98d06ba9d1ea8cb0 (diff)
downloadfreebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.tar.gz
freebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.tar.zst
freebsd-ports-gnome-1bca2449d6943be2937c8359213d0b393fe5e44a.zip
Upgrade llvm, clang, and llvm-gcc to the 2.7 release.
Submitted by: mm (llvm and clang)
Diffstat (limited to 'devel/llvm/Makefile')
-rw-r--r--devel/llvm/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile
index 3e8b6cf88648..022404fc31b8 100644
--- a/devel/llvm/Makefile
+++ b/devel/llvm/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= llvm
-PORTVERSION= 2.6
-PORTREVISION= 2
+PORTVERSION= 2.7
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
+EXTRACT_SUFX= .tgz
MAINTAINER= brooks@FreeBSD.org
COMMENT= Low Level Virtual Machine
@@ -47,8 +47,8 @@ DOCSRCDIR= docs
.endif
.if !defined(NOPORTDOCS)
-MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \
- llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \
+MAN1= bugpoint.1 lit.1 llc.1 lli.1 llvm-ar.1 \
+ llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 \
llvm-dis.1 llvm-extract.1 llvm-ld.1 llvm-link.1 llvm-nm.1 \
llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 \
llvmgxx.1 opt.1 tblgen.1
@@ -56,14 +56,20 @@ MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \
.include <bsd.port.pre.mk>
-.if ${ARCH} == "sparc64" || ${ARCH} =="ia64"
-BROKEN= Does not compile on ${ARCH}
+.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
+BROKEN= does not compile
+.elif ${ARCH} == "sparc64"
+BROKEN= does not compile on sparc64
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CONFIGURE_ARGS+= --enable-pic --with-pic
.endif
+.if ${ARCH} == "i386"
+CONFIGURE_ARGS+= --with-optimize-option=-O2
+.endif
+
.ifdef(WITH_NO_ASSERTS)
CONFIGURE_ARGS+= --disable-assertions
.else
@@ -88,16 +94,17 @@ regression-test: ${BUILD_COOKIE}
fi
PLIST_FILE_LIST= bin/bugpoint \
- bin/gccas \
- bin/gccld \
bin/llc \
bin/lli \
bin/llvm* \
bin/opt \
bin/tblgen \
lib/libCompilerDriver.a \
+ lib/libEnhancedDisassembly.so \
+ lib/libEnhancedDisassembly.a \
lib/libLTO.* \
lib/libLLVM* \
+ lib/libUnitTestMain.a \
lib/libplugin_llvmc* \
lib/libprofile_rt.so
PLIST_DIR_LIST= include/llvm-c \