aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python24
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/python24
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/python24')
-rw-r--r--lang/python24/Makefile3
-rw-r--r--lang/python24/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 0abf42bce5ff..9a9bf3b29902 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -7,7 +7,7 @@
PORTNAME= python
PORTVERSION= 2.3.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -161,6 +161,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/python24/pkg-plist b/lang/python24/pkg-plist
index 8c98879909d2..fb05501e908a 100644
--- a/lang/python24/pkg-plist
+++ b/lang/python24/pkg-plist
@@ -316,6 +316,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