www/php-apcu: fix pkglint warnings and configure options

This commit is contained in:
rillig 2019-11-02 12:54:38 +00:00
parent b814f314dd
commit 2eb6da9b0b
3 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2019/10/22 08:25:59 taca Exp $
# $NetBSD: Makefile,v 1.15 2019/11/02 12:54:38 rillig Exp $
MODNAME= apcu
PECL_VERSION= 5.1.17
@ -10,10 +10,11 @@ LICENSE= php
PHP_VERSIONS_ACCEPTED= 71 72 73
GNU_CONFIGURE_STRICT= no # --with-pcre-dir is added for all PHP extensions
CONFIGURE_ARGS+= --enable-${MODNAME}
PLIST_SRC+= ${.CURDIR}/PLIST.extras
PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
PLIST_SUBST+= PKGBASE=${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.extras,v 1.3 2019/02/05 18:58:02 bsiegert Exp $
@comment $NetBSD: PLIST.extras,v 1.4 2019/11/02 12:54:38 rillig Exp $
share/doc/${PKGBASE}/INSTALL
include/php/ext/apcu/apc.h
include/php/ext/apcu/apc_api.h
@ -15,4 +15,3 @@ include/php/ext/apcu/apc_sma.h
include/php/ext/apcu/apc_sma_api.h
include/php/ext/apcu/apc_stack.h
include/php/ext/apcu/php_apc.h
@dirrm include/php/ext/apcu

View file

@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.2 2017/12/13 11:34:47 jperkin Exp $
# $NetBSD: buildlink3.mk,v 1.3 2019/11/02 12:54:38 rillig Exp $
BUILDLINK_TREE+= php-apcu
.if !defined(PHP_APCU_BUILDLINK3_MK)
PHP_APCU_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.php-apcu+= ${PHP_PKG_PREFIX}-apcu>=5.0.0
BUILDLINK_PKGSRCDIR.php-apcu?= ../../www/php-apcu
BUILDLINK_API_DEPENDS.php-apcu+= ${PHP_PKG_PREFIX}-apcu>=5.0.0
BUILDLINK_PKGSRCDIR.php-apcu?= ../../www/php-apcu
.endif # PHP_APCU_BUILDLINK3_MK
BUILDLINK_TREE+= -php-apcu