c047091e80
PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is modular, and object-oriented. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The language is designed to allow web developers to write dynamically generated pages quickly. PHP 8.1 comes with numerous improvements and new features such as * Enumerations * Readonly properties * Fibers * Pure Intersection Types * never return type * First-class Callable Syntax * "final" modifier for class constants * New fsync and fdatasync functions * New array_is_list function * Explicit Octal numeral notation * And much much more...
29 lines
796 B
Makefile
29 lines
796 B
Makefile
# $NetBSD: Makefile.common,v 1.1 2021/11/27 07:24:43 taca Exp $
|
|
# used by lang/php81/Makefile.php
|
|
# used by lang/php/ext.mk
|
|
# used by meta-pkgs/php81-extensions/Makefile
|
|
|
|
PHP_VERSION_REQD= 81
|
|
|
|
.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"
|