From ba783d57ad4a8ce5f0ab8b2630e97a8bc3fd83f7 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 18 Oct 2013 20:28:54 +0000 Subject: [PATCH] Remove explicit references to "33" and obsolete (nop) LATEST_LINK definition. Add a guard to help catch cases were programs in bin vanish between releases. --- devel/llvm33/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devel/llvm33/Makefile b/devel/llvm33/Makefile index 890d316a6cba..5d051bc2f4d0 100644 --- a/devel/llvm33/Makefile +++ b/devel/llvm33/Makefile @@ -6,7 +6,7 @@ PORTREVISION= 6 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src -PKGNAMESUFFIX= 33 +PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine @@ -17,7 +17,6 @@ LLVM_SUFFIX= ${PORTVERSION:S/.//g} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -LATEST_LINK= ${PORTNAME}${LLVM_SUFFIX} USES= gmake perl5 GNU_CONFIGURE= yes @@ -171,12 +170,13 @@ post-build: .endif post-install: - ${MV} ${STAGEDIR}${PREFIX}/llvm33/lib/${LIBNAME} \ + ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${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