pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php55 Apply the necessary flags to sqlite so that...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e5bb72202f9
branches: trunk
changeset: 644790:9e5bb72202f9
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jan 17 14:56:50 2015 +0000
description:
Apply the necessary flags to sqlite so that php55 builds correctly on Darwin
prior to v9. From Sevan Janiyan in PR pkg/49527.
diffstat:
lang/php55/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 44e8c1746539 -r 9e5bb72202f9 lang/php55/Makefile
--- a/lang/php55/Makefile Sat Jan 17 14:50:10 2015 +0000
+++ b/lang/php55/Makefile Sat Jan 17 14:56:50 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2014/07/26 00:11:55 taca Exp $
+# $NetBSD: Makefile,v 1.17 2015/01/17 14:56:50 bsiegert Exp $
#
# We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -27,6 +27,13 @@
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}"
Home |
Main Index |
Thread Index |
Old Index