aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--lang/python-devel/Makefile3
-rw-r--r--lang/python-devel/pkg-plist1
-rw-r--r--lang/python/Makefile3
-rw-r--r--lang/python/pkg-plist1
-rw-r--r--lang/python23/Makefile3
-rw-r--r--lang/python23/pkg-plist1
-rw-r--r--lang/python24/Makefile3
-rw-r--r--lang/python24/pkg-plist1
-rw-r--r--lang/python25/Makefile3
-rw-r--r--lang/python25/pkg-plist1
-rw-r--r--lang/python26/Makefile3
-rw-r--r--lang/python26/pkg-plist1
-rw-r--r--lang/python27/Makefile3
-rw-r--r--lang/python27/pkg-plist1
-rw-r--r--lang/python30/Makefile3
-rw-r--r--lang/python30/pkg-plist1
-rw-r--r--lang/python31/Makefile3
-rw-r--r--lang/python31/pkg-plist1
-rw-r--r--lang/python32/Makefile3
-rw-r--r--lang/python32/pkg-plist1
20 files changed, 30 insertions, 10 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
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 0abf42bce5ff..9a9bf3b29902 100644
--- a/lang/python/Makefile
+++ b/lang/python/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/python/pkg-plist b/lang/python/pkg-plist
index 8c98879909d2..fb05501e908a 100644
--- a/lang/python/pkg-plist
+++ b/lang/python/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
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 0abf42bce5ff..9a9bf3b29902 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/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/python23/pkg-plist b/lang/python23/pkg-plist
index 8c98879909d2..fb05501e908a 100644
--- a/lang/python23/pkg-plist
+++ b/lang/python23/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
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
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/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/python25/pkg-plist b/lang/python25/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python25/pkg-plist
+++ b/lang/python25/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
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/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/python26/pkg-plist b/lang/python26/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python26/pkg-plist
+++ b/lang/python26/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
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
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/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/python30/pkg-plist b/lang/python30/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python30/pkg-plist
+++ b/lang/python30/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
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
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 6f8289ade740..9ada0ede362c 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/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/python32/pkg-plist b/lang/python32/pkg-plist
index ad78ff1936e0..3fdce6a560fa 100644
--- a/lang/python32/pkg-plist
+++ b/lang/python32/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