# $NetBSD: Makefile.common,v 1.4 2023/05/06 14:02:13 taca Exp $ # used by lang/php80/Makefile.php # used by lang/php/ext.mk PHP_VERSION_REQD= 80 .include "../../lang/php/common.mk" CATEGORIES+= www MAINTAINER?= pkgsrc-users@NetBSD.org USE_TOOLS+= pkg-config CHECK_PORTABILITY_SKIP+= scripts/dev/makedist .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 CONFIGURE_ARGS+= php_cv_cc_dashr=no .endif # not every extension actually depend on PCRE, and those which do # don't use internal pcre structures, so default to build-time # dependency only BUILDLINK_DEPMETHOD.pcre2?= build .include "../../devel/pcre2/buildlink3.mk"