diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-10-21 19:42:02 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-10-21 19:42:02 +0000 |
commit | c34923acef63db3b1d16cac5cfcf79f91d655875 (patch) | |
tree | 49dae25fcd6b7a76064286a77dfeadb5278d4968 /devel/llvm33/Makefile | |
parent | c7a798ee5084e346e3150d67d8a0b1ff9802f9c2 (diff) | |
download | ports-c34923acef63db3b1d16cac5cfcf79f91d655875.tar.gz ports-c34923acef63db3b1d16cac5cfcf79f91d655875.zip |
Notes
Diffstat (limited to 'devel/llvm33/Makefile')
-rw-r--r-- | devel/llvm33/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/llvm33/Makefile b/devel/llvm33/Makefile index 5d051bc2f4d0..e34c31735717 100644 --- a/devel/llvm33/Makefile +++ b/devel/llvm33/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm PORTVERSION= 3.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src @@ -17,6 +17,7 @@ LLVM_SUFFIX= ${PORTVERSION:S/.//g} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} +UNIQUENAME= ${PORTNAME}${LLVM_SUFFIX} USES= gmake perl5 GNU_CONFIGURE= yes @@ -75,6 +76,12 @@ COMMANDS= bugpoint \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} +STRIP_LIBS= BugpointPasses.so \ + LLVMHello.so \ + libLLVM-${PORTVERSION}.so.0 \ + libLTO.so \ + libprofile_rt.so + # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 @@ -173,6 +180,7 @@ post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} + ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} |