Index: head/devel/llvm-cheri/Makefile =================================================================== --- head/devel/llvm-cheri/Makefile +++ head/devel/llvm-cheri/Makefile @@ -2,6 +2,7 @@ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE} +PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} Index: head/devel/llvm-cheri/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm-cheri/files/llvm-wrapper.sh.in +++ head/devel/llvm-cheri/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm33/Makefile =================================================================== --- head/devel/llvm33/Makefile +++ head/devel/llvm33/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm PORTVERSION= 3.3 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src Index: head/devel/llvm33/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm33/files/llvm-wrapper.sh.in +++ head/devel/llvm33/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm34/Makefile =================================================================== --- head/devel/llvm34/Makefile +++ head/devel/llvm34/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm PORTVERSION= 3.4.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src Index: head/devel/llvm34/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm34/files/llvm-wrapper.sh.in +++ head/devel/llvm34/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm35/Makefile =================================================================== --- head/devel/llvm35/Makefile +++ head/devel/llvm35/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 3.5.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/3.5.2/ DISTNAME= ${PORTNAME}-${DISTVERSION}.src Index: head/devel/llvm35/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm35/files/llvm-wrapper.sh.in +++ head/devel/llvm35/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm38/Makefile =================================================================== --- head/devel/llvm38/Makefile +++ head/devel/llvm38/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 3.8.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} DISTNAME= ${PORTNAME}-${DISTVERSION}.src Index: head/devel/llvm38/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm38/files/llvm-wrapper.sh.in +++ head/devel/llvm38/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm39/Makefile =================================================================== --- head/devel/llvm39/Makefile +++ head/devel/llvm39/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 3.9.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} Index: head/devel/llvm39/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm39/files/llvm-wrapper.sh.in +++ head/devel/llvm39/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm40/Makefile =================================================================== --- head/devel/llvm40/Makefile +++ head/devel/llvm40/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 4.0.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} Index: head/devel/llvm40/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm40/files/llvm-wrapper.sh.in +++ head/devel/llvm40/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm50/Makefile =================================================================== --- head/devel/llvm50/Makefile +++ head/devel/llvm50/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 5.0.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= https://releases.llvm.org/${LLVM_RELEASE}/${RCDIR} LOCAL/brooks PKGNAMESUFFIX= ${LLVM_SUFFIX} Index: head/devel/llvm50/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm50/files/llvm-wrapper.sh.in +++ head/devel/llvm50/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: head/devel/llvm60/Makefile =================================================================== --- head/devel/llvm60/Makefile +++ head/devel/llvm60/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 6.0.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} Index: head/devel/llvm60/files/llvm-wrapper.sh.in =================================================================== --- head/devel/llvm60/files/llvm-wrapper.sh.in +++ head/devel/llvm60/files/llvm-wrapper.sh.in @@ -4,7 +4,8 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=${0##*/} +tool=$(/bin/realpath $0) +tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}"