diff options
author | brooks <brooks@FreeBSD.org> | 2013-10-22 03:42:02 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-10-22 03:42:02 +0800 |
commit | 5df3e128189f9072a38d5f1d5f9402734ada97b6 (patch) | |
tree | 49dae25fcd6b7a76064286a77dfeadb5278d4968 /devel/llvm33 | |
parent | dc821dae1bcde8fbe6389f82c56af6ac6144b1ee (diff) | |
download | freebsd-ports-gnome-5df3e128189f9072a38d5f1d5f9402734ada97b6.tar.gz freebsd-ports-gnome-5df3e128189f9072a38d5f1d5f9402734ada97b6.tar.zst freebsd-ports-gnome-5df3e128189f9072a38d5f1d5f9402734ada97b6.zip |
Correct conflicting ldconfig config files by setting UNIQUENAME.
Strip installed libraries with ${STRIP_CMD}.
Some whitespace tidying.
Diffstat (limited to 'devel/llvm33')
-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*} |