pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42103: python25 does not build under Mac OS X 10.6 (Snow Leopard)
>Number: 42103
>Category: pkg
>Synopsis: python25 does not build under Mac OS X 10.6 (Snow Leopard)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 20 22:25:00 +0000 2009
>Originator: Steven Sartorius
>Release: 5.0_STABLE
>Organization:
>Environment:
Darwin macmini.localnet 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386 i386
>Description:
python25 fails to build under Snow Leopard
>How-To-Repeat:
>Fix:
the following patch works:
--- Makefile 2009-09-20 17:36:08.000000000 -0400
+++ Makefile 2009-09-20 18:02:01.000000000 -0400
@@ -16,12 +16,17 @@
# Remember to update pkgsrc/lang/python/srcdist.mk when version changes
CONFLICTS+= python-[0-9]*
+.include "../../mk/compiler.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-threads
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= OPT=${CFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-system-ffi
+.if !empty(MACHINE_PLATFORM:MDarwin-??.*-*)
+CONFIGURE_ARGS+= --disable-toolbox-glue
+CONFIGURE_ARGS+= --disable-framework
+CFLAGS+= -mmacosx-version-min=10.6
+.endif
LDFLAGS+= -L${WRKSRC}
Home |
Main Index |
Thread Index |
Old Index