www/php-dotclear: move PHP_VERSIONS_ACCEPTED definition

* PHP_VERSIONS_ACCEPTED should be defined before including
  lang/php/phpversion.mk.
This commit is contained in:
taca 2024-02-28 15:57:44 +00:00
parent 7f8869a94e
commit c22127a026
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2023/03/05 19:21:23 triaxx Exp $
# $NetBSD: Makefile,v 1.9 2024/02/28 15:57:44 taca Exp $
DISTNAME= dotclear-2.25.3
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
@ -11,6 +11,8 @@ HOMEPAGE= https://dotclear.org/
COMMENT= Open-source web publising software
LICENSE= gnu-gpl-v2
PHP_VERSIONS_ACCEPTED= 82 81 80 74
.include "../../lang/php/phpversion.mk"
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=${PHP_BASE_VERS}:../../converters/php-iconv
@ -26,8 +28,6 @@ BUILD_DEFS+= PKG_SYSCONFBASE VARBASE
.include "options.mk"
PHP_VERSIONS_ACCEPTED= 82 81 80 74
PKG_SYSCONFSUBDIR= dotclear
DOTCLEAR_USER?= dotclear