Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2023/06/06 12:42:48 riastradh Exp $
|
|
#
|
|
|
|
MODNAME= phalcon
|
|
PECL_VERSION= 3.4.5
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=phalcon/}
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
HOMEPAGE= https://phalconphp.com/
|
|
COMMENT= Web framework implemented as a C extension offering high performance
|
|
LICENSE= php
|
|
|
|
GITHUB_PROJECT= cphalcon
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
TOOL_DEPENDS+= re2c>=0.15.3:../../devel/re2c
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.6.0:../../www/php-curl
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.6.0:../../graphics/php-gd
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.6.0:../../textproc/php-json
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.6.0:../../converters/php-mbstring
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.6.0:../../databases/php-pdo
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.6.0:../../databases/php-pdo_mysql
|
|
|
|
PHP_VERSIONS_ACCEPTED= 56
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
PHPSETUPSUBDIR= build/php${PKG_PHP_MAJOR_VERS}/${"${MACHINE_ARCH:Mx86_64}":?64:32}bits
|
|
MODULESDIR= ${WRKSRC}/${PHPSETUPSUBDIR}/modules
|
|
CONFIGURE_DIRS+= ${PHPSETUPSUBDIR}
|
|
|
|
.include "../../databases/php-pdo/buildlink3.mk"
|
|
.include "../../textproc/php-json/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|