aboutsummaryrefslogtreecommitdiff
path: root/lang/python2
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-01-25 09:15:12 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-01-25 09:15:12 +0000
commita5ec92772407997fd607330266e6957ba5c595e2 (patch)
tree6a5600a7a78cee12084b4afcbf9ef39c8603bc99 /lang/python2
parent8fd329e5dbc3a7d3bf1ff6186572f3604041e5da (diff)
downloadports-a5ec92772407997fd607330266e6957ba5c595e2.tar.gz
ports-a5ec92772407997fd607330266e6957ba5c595e2.zip
- Do not use absolute source paths for the symlinks to the stagedir
Noticed by: danfe
Notes
Notes: svn path=/head/; revision=340997
Diffstat (limited to 'lang/python2')
-rw-r--r--lang/python2/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/python2/Makefile b/lang/python2/Makefile
index 29b4c0e6306f..7cd14d341c37 100644
--- a/lang/python2/Makefile
+++ b/lang/python2/Makefile
@@ -32,18 +32,18 @@ RUN_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR}
do-install:
.for file in idle pydoc python python-shared
- ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_VER} \
+ ${LN} -sf ${file}${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/${file}${PYTHON_MAJOR_VER}
.endfor
- ${LN} -sf ${PREFIX}/bin/2to3-${PYTHON_VER} \
+ ${LN} -sf 2to3-${PYTHON_VER} \
${STAGEDIR}${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER}
- ${LN} -sf ${PREFIX}/bin/smtpd${PYTHON_VER}.py \
+ ${LN} -sf smtpd${PYTHON_VER}.py \
${STAGEDIR}${PREFIX}/bin/smtpd${PYTHON_MAJOR_VER}.py
- ${LN} -sf ${PREFIX}/bin/python${PYTHON_VER}-config \
+ ${LN} -sf python${PYTHON_VER}-config \
${STAGEDIR}${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config
- ${LN} -sf ${PREFIX}/bin/python-shared${PYTHON_VER}-config \
+ ${LN} -sf python-shared${PYTHON_VER}-config \
${STAGEDIR}${PREFIX}/bin/python-shared${PYTHON_MAJOR_VER}-config
- ${LN} -sf ${PREFIX}/libdata/pkgconfig/python-${PYTHON_VER}.pc \
+ ${LN} -sf python-${PYTHON_VER}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/python${PYTHON_MAJOR_VER}.pc
# Major upgrade support