pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php73 lang/php73: avoid to use ifunc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6861329b91bb
branches:  trunk
changeset: 405474:6861329b91bb
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Nov 28 14:54:50 2019 +0000

description:
lang/php73: avoid to use ifunc

Avoid to use ifunc on NetBSD.  Fix build problem on NetBSD current, 9.99.x.

diffstat:

 lang/php73/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6f28c27c4398 -r 6861329b91bb lang/php73/Makefile.common
--- a/lang/php73/Makefile.common        Thu Nov 28 14:35:07 2019 +0000
+++ b/lang/php73/Makefile.common        Thu Nov 28 14:54:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2018/12/15 17:12:44 taca Exp $
+# $NetBSD: Makefile.common,v 1.2 2019/11/28 14:54:50 taca Exp $
 # used by lang/php73/Makefile.php
 # used by lang/php/ext.mk
 # used by meta-pkgs/php73-extensions/Makefile
@@ -13,6 +13,11 @@
 # needed due to (broken?) configure checks in php-xmlrpc and php5-dom
 CONFIGURE_ENV+=                PHP_LIBXML_SHARED="1"
 
+# avoid to use ifunc on NetBSD
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       ax_cv_have_func_attribute_ifunc=no
+.endif
+
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 # configure test gets confused by wrappers dropping -R /usr/lib



Home | Main Index | Thread Index | Old Index