diff options
author | tron <tron@pkgsrc.org> | 2009-09-12 22:24:06 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-09-12 22:24:06 +0000 |
commit | 91722862262921f4fa73bc815eb1eac16257fd8c (patch) | |
tree | e7ef291baa4bb9cbe03a3c1a121fb82ae50b6025 /lang/python25 | |
parent | b36c4b835434d6794a24402b9c26e5e20679fd84 (diff) | |
download | pkgsrc-91722862262921f4fa73bc815eb1eac16257fd8c.tar.gz |
Fix build under Mac OS X Snow Leopard.
Diffstat (limited to 'lang/python25')
-rw-r--r-- | lang/python25/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile index a791c37765e..f561441cdf7 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2009/09/12 17:47:17 drochner Exp $ +# $NetBSD: Makefile,v 1.21 2009/09/12 22:24:06 tron Exp $ DISTNAME= Python-2.5.4 PKGNAME= python25-2.5.4 @@ -103,6 +103,10 @@ PLIST.oss= yes # Make sure python modules can link correctly .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= yes + +. if empty(OS_VERSION:M[1-9].*) +CFLAGS+= -D_DARWIN_C_SOURCE +. endif .endif PLIST_VARS+= bsddb dll nis no-nis |