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 /lang | |
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 'lang')
-rw-r--r-- | lang/clang32/Makefile | 10 | ||||
-rw-r--r-- | lang/clang33/Makefile | 11 |
2 files changed, 14 insertions, 7 deletions
diff --git a/lang/clang32/Makefile b/lang/clang32/Makefile index 9bc950c70bc4..ddaa7be8368b 100644 --- a/lang/clang32/Makefile +++ b/lang/clang32/Makefile @@ -2,6 +2,7 @@ PORTNAME= clang DISTVERSION= 3.2 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -108,16 +109,19 @@ post-build: .endif post-install: - ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp + ${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so + ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ + ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ - ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} + ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} DESTDIR=${STAGEDIR}/ install-html install-ps + cd ${WRKSRC}/tools/clang/docs/tools && \ + ${GMAKE} DESTDIR=${STAGEDIR}/ install-html install-ps .endif ${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/clang${LLVM_SUFFIX}.1 diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index c84c7c4c10ab..53b3f7e93677 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -2,7 +2,7 @@ PORTNAME= clang DISTVERSION= 3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -110,16 +110,19 @@ post-build: .endif post-install: - ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp + ${STRIP_CMD} ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so + ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ + ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ - ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} + ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} DESTDIR=${STAGEDIR}/ install-html install-ps + cd ${WRKSRC}/tools/clang/docs/tools && \ + ${GMAKE} DESTDIR=${STAGEDIR}/ install-html install-ps .endif ${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/clang${LLVM_SUFFIX}.1 |