diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-01-25 08:46:11 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-01-25 08:46:11 +0000 |
commit | 8fd329e5dbc3a7d3bf1ff6186572f3604041e5da (patch) | |
tree | 4c5f7a333d8bb947f49033368a3b1ed14f58d0d9 /lang/python | |
parent | - Support STAGEDIR (diff) |
- Enable stagedir support
Notes
Notes:
svn path=/head/; revision=340996
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index 0f08d6cba173..760d9b7766a8 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -25,7 +25,6 @@ PLIST_FILES= bin/2to3 \ bin/python-shared \ bin/python-shared-config -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${PYTHON_MAJOR_VER} == 2 @@ -37,21 +36,28 @@ RUN_DEPENDS+= python3:${PORTSDIR}/lang/python3 do-install: .for file in python python-shared - ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} ${PREFIX}/bin/${file} + ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} \ + ${STAGEDIR}${PREFIX}/bin/${file} .endfor - ${LN} -sf ${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER} ${PREFIX}/bin/2to3 + ${LN} -sf ${PREFIX}/bin/2to3-${PYTHON_MAJOR_VER} \ + ${STAGEDIR}${PREFIX}/bin/2to3 .if ${PYTHON_MAJOR_VER} == 2 - ${LN} -sf ${PREFIX}/bin/smtpd${PYTHON_MAJOR_VER}.py ${PREFIX}/bin/smtpd.py + ${LN} -sf ${PREFIX}/bin/smtpd${PYTHON_MAJOR_VER}.py \ + ${STAGEDIR}${PREFIX}/bin/smtpd.py .for file in idle pydoc - ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} ${PREFIX}/bin/${file} + ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} \ + ${STAGEDIR}${PREFIX}/bin/${file} .endfor .elif ${PYTHON_MAJOR_VER} == 3 .for file in idle pydoc - ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER}-${PYTHON_VER} ${PREFIX}/bin/${file} + ${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER}-${PYTHON_VER} \ + ${STAGEDIR}${PREFIX}/bin/${file} .endfor .endif - ${LN} -sf ${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config ${PREFIX}/bin/python-config - ${LN} -sf ${PREFIX}/bin/python-shared${PYTHON_MAJOR_VER}-config ${PREFIX}/bin/python-shared-config + ${LN} -sf ${PREFIX}/bin/python${PYTHON_MAJOR_VER}-config \ + ${STAGEDIR}${PREFIX}/bin/python-config + ${LN} -sf ${PREFIX}/bin/python-shared${PYTHON_MAJOR_VER}-config \ + ${STAGEDIR}${PREFIX}/bin/python-shared-config # Major upgrade support PORTUPGRADE_CMD= ${LOCALBASE}/sbin/portupgrade |