4c74c03d66
Remove (maybe) unused code.
29 lines
796 B
Text
29 lines
796 B
Text
# $NetBSD: Makefile.common,v 1.2 2021/03/07 15:08:36 taca Exp $
|
|
# used by lang/php80/Makefile.php
|
|
# used by lang/php/ext.mk
|
|
# used by meta-pkgs/php80-extensions/Makefile
|
|
|
|
PHP_VERSION_REQD= 80
|
|
|
|
.include "../../lang/php/common.mk"
|
|
|
|
CATEGORIES+= www
|
|
MAINTAINER?= pkgsrc-users@NetBSD.org
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
.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"
|