aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-09-27 00:44:13 +0800
committerperky <perky@FreeBSD.org>2003-09-27 00:44:13 +0800
commit55616452884dde0d4a58efaefc02c22e4860e8b2 (patch)
treee09044226e82605f05d7c981e2506d73097dedf1 /lang/python
parentd38f6d8316cb71c8b3db4df2a72b042948792178 (diff)
downloadfreebsd-ports-gnome-55616452884dde0d4a58efaefc02c22e4860e8b2.tar.gz
freebsd-ports-gnome-55616452884dde0d4a58efaefc02c22e4860e8b2.tar.zst
freebsd-ports-gnome-55616452884dde0d4a58efaefc02c22e4860e8b2.zip
- Revive os.fsync function which is disabled by a typo of Python-2.3.1.
- Bump PORTREVISION Obtained from: Python CVS
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile1
-rw-r--r--lang/python/files/patch-configure17
-rw-r--r--lang/python/files/patch-pyconfig.h.in11
3 files changed, 25 insertions, 4 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 6abf5a004344..760b589fa0e0 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -7,6 +7,7 @@
PORTNAME= python
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= ${MASTER_SITE_PYTHON}
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
diff --git a/lang/python/files/patch-configure b/lang/python/files/patch-configure
index c17e753795a5..60016879c44c 100644
--- a/lang/python/files/patch-configure
+++ b/lang/python/files/patch-configure
@@ -1,7 +1,7 @@
---- configure.orig Sun Jul 13 18:46:13 2003
-+++ configure Sat Jul 19 15:21:09 2003
-@@ -3288,6 +3288,12 @@
- RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
+--- configure.orig Sun Sep 21 00:29:40 2003
++++ configure Fri Sep 26 13:08:51 2003
+@@ -3596,6 +3596,12 @@
+ RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
+ FreeBSD*)
@@ -13,3 +13,12 @@
hp*|HP*)
LDLIBRARY='libpython$(VERSION).sl'
BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
+@@ -13384,7 +13390,7 @@
+ (exit $ac_status); }; }; then
+
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_SYNC 1
++#define HAVE_FSYNC 1
+ _ACEOF
+
+ echo "$as_me:$LINENO: result: yes" >&5
diff --git a/lang/python/files/patch-pyconfig.h.in b/lang/python/files/patch-pyconfig.h.in
new file mode 100644
index 000000000000..289f4dcafcad
--- /dev/null
+++ b/lang/python/files/patch-pyconfig.h.in
@@ -0,0 +1,11 @@
+--- pyconfig.h.in.orig Fri Sep 26 13:09:17 2003
++++ pyconfig.h.in Fri Sep 26 13:09:25 2003
+@@ -486,7 +486,7 @@
+ #undef HAVE_SYMLINK
+
+ /* Define if you have the 'fsync' function. */
+-#undef HAVE_SYNC
++#undef HAVE_FSYNC
+
+ /* Define to 1 if you have the `sysconf' function. */
+ #undef HAVE_SYSCONF