diff options
author | mva <mva@FreeBSD.org> | 2014-02-01 17:21:23 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-02-01 17:21:23 +0800 |
commit | 23b0da5df0cc3ead49bac5d176ca9d42ba587213 (patch) | |
tree | 7779fb15208a163a17bbb7f0122751dd0749485f /lang/python31 | |
parent | 888f61a78b13d641465b69d9d9f2f4f804085f31 (diff) | |
download | freebsd-ports-gnome-23b0da5df0cc3ead49bac5d176ca9d42ba587213.tar.gz freebsd-ports-gnome-23b0da5df0cc3ead49bac5d176ca9d42ba587213.tar.zst freebsd-ports-gnome-23b0da5df0cc3ead49bac5d176ca9d42ba587213.zip |
- Fix bad libpython* symlinks after enabling the lang/python* ports to
be stagedir-aware
PR: ports/186284
Submitted by: marino@
Pointyhat to: myself
Diffstat (limited to 'lang/python31')
-rw-r--r-- | lang/python31/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile index 82100dc47b91..7d9e5e6ce646 100644 --- a/lang/python31/Makefile +++ b/lang/python31/Makefile @@ -2,7 +2,7 @@ PORTNAME= python31 PORTVERSION= 3.1.5 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -207,7 +207,8 @@ post-install: ${STAGEDIR}${PREFIX}/lib (cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf lib${PYTHON_VERSION}.so.1 \ lib${PYTHON_VERSION}.so) - ${LN} -sf lib${PYTHON_VERSION}.so ${STAGEDIR}${PYTHONPREFIX_LIBDIR}/config + (cd ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/config; \ + ${LN} -sf ../../lib${PYTHON_VERSION}.so) ${INSTALL_PROGRAM} \ ${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \ ${STAGEDIR}${PREFIX}/bin |