pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Add devel/gettext-lib as dependency to avoid prob...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33a5460b6d1f
branches: trunk
changeset: 496578:33a5460b6d1f
user: recht <recht%pkgsrc.org@localhost>
date: Sun Jul 03 19:48:22 2005 +0000
description:
Add devel/gettext-lib as dependency to avoid problems with the locale module not being built.
- fix suggested by Simon Kuhn in PR 29735
Add a patch from darwinports to workaround for deprecated ostat in sys/stat.h on OS X 10.4.
bump PKGREVISION
diffstat:
lang/python24-pth/Makefile | 6 +++---
lang/python24/Makefile | 4 +++-
lang/python24/patches/patch-an | 28 ++++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 4 deletions(-)
diffs (69 lines):
diff -r 83af4bbcf950 -r 33a5460b6d1f lang/python24-pth/Makefile
--- a/lang/python24-pth/Makefile Sun Jul 03 19:42:14 2005 +0000
+++ b/lang/python24-pth/Makefile Sun Jul 03 19:48:22 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2005/04/11 21:46:16 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/07/03 19:48:22 recht Exp $
#
-DISTNAME= Python-2.4
-PKGNAME= python24-pth-2.4
+DISTNAME= Python-2.4.1
+PKGNAME= python24-pth-2.4.1
CATEGORIES= lang python
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 83af4bbcf950 -r 33a5460b6d1f lang/python24/Makefile
--- a/lang/python24/Makefile Sun Jul 03 19:42:14 2005 +0000
+++ b/lang/python24/Makefile Sun Jul 03 19:48:22 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2005/05/10 22:27:44 abs Exp $
+# $NetBSD: Makefile,v 1.9 2005/07/03 19:48:22 recht Exp $
#
DISTNAME= Python-2.4.1
PKGNAME= python24-2.4.1
+PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.4.1/
EXTRACT_SUFX= .tar.bz2
@@ -115,6 +116,7 @@
${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}
.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
diff -r 83af4bbcf950 -r 33a5460b6d1f lang/python24/patches/patch-an
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/patches/patch-an Sun Jul 03 19:48:22 2005 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-an,v 1.3 2005/07/03 19:48:22 recht Exp $
+
+--- Include/pyport.h.orig 2004-09-23 21:11:21.000000000 +0200
++++ Include/pyport.h 2005-07-03 20:02:08.000000000 +0200
+@@ -152,11 +152,23 @@
+ #if defined(PYOS_OS2) && defined(PYCC_GCC)
+ #include <sys/types.h>
+ #endif
++
++#if (defined __APPLE__) && (!defined _POSIX_C_SOURCE)
++#define TEMPORARILY_DEFINING__POSIX_C_SOURCE /* so we can #undef it later */
++#define _POSIX_C_SOURCE /* avoid deprecated struct ostat in sys/stat.h */
++#endif
++
+ #include <sys/stat.h>
+ #elif defined(HAVE_STAT_H)
+ #include <stat.h>
+ #endif
+
++/* Mac OS X: undefine _POSIX_C_SOURCE if it wasn't defined before */
++#ifdef TEMPORARILY_DEFINING__POSIX_C_SOURCE
++#undef _POSIX_C_SOURCE
++#undef TEMPORARILY_DEFINING__POSIX_C_SOURCE
++#endif
++
+ #if defined(PYCC_VACPP)
+ /* VisualAge C/C++ Failed to Define MountType Field in sys/stat.h */
+ #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG)
Home |
Main Index |
Thread Index |
Old Index