aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python-devel
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-03-09 10:24:31 +0800
committerperky <perky@FreeBSD.org>2004-03-09 10:24:31 +0800
commit22d20f92e53334526396a65593f3241dfc0b98a5 (patch)
tree3f6d10c2788b1750813cc56952d4420ad8f14c4d /lang/python-devel
parent9daa6a01f63705d8722d806fa0e0cf6340e05bc0 (diff)
downloadfreebsd-ports-gnome-22d20f92e53334526396a65593f3241dfc0b98a5.tar.gz
freebsd-ports-gnome-22d20f92e53334526396a65593f3241dfc0b98a5.tar.zst
freebsd-ports-gnome-22d20f92e53334526396a65593f3241dfc0b98a5.zip
Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library. Suggested by: dd
Diffstat (limited to 'lang/python-devel')
-rw-r--r--lang/python-devel/Makefile3
-rw-r--r--lang/python-devel/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python-devel/Makefile
+++ b/lang/python-devel/Makefile
@@ -6,7 +6,7 @@
PORTNAME= python
PORTVERSION= 2.4.a0.20040106
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -162,6 +162,7 @@ post-install:
${PREFIX}/lib
cd ${PREFIX}/lib; ${LN} -sf lib${PYTHON_VERSION}.so.1 \
lib${PYTHON_VERSION}.so
+ ${LN} -sf ${PREFIX}/lib/lib${PYTHON_VERSION}.so ${PYTHON_LIBDIR}/config
${INSTALL_PROGRAM} \
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
${PREFIX}/bin
diff --git a/lang/python-devel/pkg-plist b/lang/python-devel/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python-devel/pkg-plist
+++ b/lang/python-devel/pkg-plist
@@ -313,6 +313,7 @@ lib/%%PYTHON_VERSION%%/config/config.c
lib/%%PYTHON_VERSION%%/config/config.c.in
lib/%%PYTHON_VERSION%%/config/install-sh
lib/%%PYTHON_VERSION%%/config/lib%%PYTHON_VERSION%%.a
+lib/%%PYTHON_VERSION%%/config/lib%%PYTHON_VERSION%%.so
lib/%%PYTHON_VERSION%%/config/makesetup
lib/%%PYTHON_VERSION%%/config/python.o
lib/%%PYTHON_VERSION%%/copy.py