summaryrefslogtreecommitdiff
path: root/lang/python27
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/python27
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
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile3
-rw-r--r--lang/python27/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/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/python27/pkg-plist b/lang/python27/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/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