sodium in 7.2+ but keeps portroach happy. 2.0.20 - Restore compatibility with PHP 2.0.19 - Restore compatibility with 7.3 2.0.18 - Restore compatibility with PHP before 7.3 2.0.17 - PHP 7.3 compatibility. 2.0.16 - PHP 7.3 compatibility.
27 lines
471 B
Makefile
27 lines
471 B
Makefile
# $OpenBSD: Makefile,v 1.17 2018/12/27 15:33:07 sthen Exp $
|
|
|
|
COMMENT = low-level encryption extension for PHP
|
|
|
|
DISTNAME = libsodium-2.0.20
|
|
DIST_SUBDIR = pecl
|
|
|
|
CATEGORIES = security
|
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# PHP
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += pthread sodium
|
|
|
|
MODULES = lang/php/pecl
|
|
|
|
MODPHP_DO_SAMPLE = sodium
|
|
|
|
LIB_DEPENDS = security/libsodium
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|