diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2010-04-28 21:05:03 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2010-04-28 21:05:03 +0000 |
commit | f3c8d79fc5fbd1631be25b7443626864163cb072 (patch) | |
tree | 5953dca376c8d922998e92feeaee21a91a8fdb44 /devel/llvm/Makefile | |
parent | 342d3367f3b9cee463e18e91f1489ce01ec514bc (diff) | |
download | ports-f3c8d79fc5fbd1631be25b7443626864163cb072.tar.gz ports-f3c8d79fc5fbd1631be25b7443626864163cb072.zip |
Notes
Diffstat (limited to 'devel/llvm/Makefile')
-rw-r--r-- | devel/llvm/Makefile | 23 |
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 \ |