NetBSD Problem Report #49527
From www@NetBSD.org Fri Jan 2 14:50:54 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id B4E07A5832
for <gnats-bugs@gnats.NetBSD.org>; Fri, 2 Jan 2015 14:50:54 +0000 (UTC)
Message-Id: <20150102145053.81165A650D@mollari.NetBSD.org>
Date: Fri, 2 Jan 2015 14:50:53 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak lang/php55 on Mac OS X Tiger
X-Send-Pr-Version: www-1.0
>Number: 49527
>Category: pkg
>Synopsis: Unbreak lang/php55 on Mac OS X Tiger
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 02 14:55:00 +0000 2015
>Closed-Date: Sat Jan 17 14:57:31 +0000 2015
>Last-Modified: Sat Jan 17 15:00:01 +0000 2015
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Apply the necessary flags to sqlite so that it builds correctly on Darwin prior to v9
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php55/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 26 Jul 2014 00:11:55 -0000 1.16
+++ Makefile 2 Jan 2015 14:47:27 -0000
@@ -26,6 +26,11 @@
CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q}
MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
+# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
+# and lacks the zone memory allocator
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC
+.endif
CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini
PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 17 Jan 2015 14:57:31 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 17 Jan 2015 14:57:31 +0000
State-Changed-Why:
Patch committed, thanks!
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49527 CVS commit: pkgsrc/lang/php55
Date: Sat, 17 Jan 2015 14:56:50 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Jan 17 14:56:50 UTC 2015
Modified Files:
pkgsrc/lang/php55: Makefile
Log Message:
Apply the necessary flags to sqlite so that php55 builds correctly on Darwin
prior to v9. From Sevan Janiyan in PR pkg/49527.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/php55/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.