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/python27 | |
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/python27')
-rw-r--r-- | lang/python27/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 1043a7f510bf..3f404f68b09e 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -3,7 +3,7 @@ PORTNAME= python27 PORTVERSION= 2.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -262,8 +262,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 |