c18ce611ff
Packages defined the variable BROKEN inconsistently. Some added quotes, like they are required in PKG_FAIL_REASON, some omitted them. Now all packages behave the same, and pkglint will flag future mistakes.
30 lines
739 B
Makefile
30 lines
739 B
Makefile
# $NetBSD: Makefile,v 1.8 2019/11/04 17:47:30 rillig Exp $
|
|
|
|
MODNAME= pthreads
|
|
PECL_VERSION= 2.0.10
|
|
CATEGORIES+= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/krakjoe/pthreads
|
|
COMMENT= PHP extension for POSIX threads support
|
|
LICENSE= php
|
|
|
|
BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
|
|
|
|
PHP_VERSIONS_ACCEPTED= 56
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
|
|
|
|
USE_LANGUAGES+= c c++
|
|
USE_TOOLS+= gsed
|
|
USE_LIBTOOL= yes
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
.if empty(PKG_BUILD_OPTIONS.${PHP_PKG_PREFIX}:Mmaintainer-zts)
|
|
BROKEN= "Requires the maintainer-zts option enabled in PHP."
|
|
.endif
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|