summaryrefslogtreecommitdiff
path: root/lang/python31
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-03-09 02:24:31 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-03-09 02:24:31 +0000
commit3c031745cd25378d165f17ffd6f0622cfc025e4d (patch)
tree90cc320a0a3ed8a715124090c087f1e46d455a60 /lang/python31
parento Fix download from open servers (non FreeBSD backup servers): (diff)
Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library. Suggested by: dd
Notes
Notes: svn path=/head/; revision=103364
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile3
-rw-r--r--lang/python31/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/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/python31/pkg-plist b/lang/python31/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python31/pkg-plist
+++ b/lang/python31/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