summaryrefslogtreecommitdiff
path: root/security/php-suhosin/Makefile
blob: 9ae6ab14275dbfa4a8b02117e00dc158fda42a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.10 2013/12/08 22:34:33 joerg Exp $
#

MODNAME=		suhosin
DISTNAME=		suhosin-${PECL_VERSION}
PECL_VERSION=		0.9.33
PECL_LEGACY_VERSION_SCHEME=	yes
CATEGORIES=		www
MASTER_SITES=		http://download.suhosin.org/

MAINTAINER=		cg@cgall.de
HOMEPAGE=		http://www.hardened-php.net/suhosin/index.html
COMMENT=		Advanced protection system for PHP installations

# There is no patch for PHP 5.4 yet(?).
PHP_VERSIONS_ACCEPTED=	53

CONFIGURE_ARGS=		--enable-${MODNAME}

.include "../../lang/php/ext.mk"

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang) && ${_PHP_VERSION} == "53"
CFLAGS+=	-Wno-error=return-type
.endif

.include "../../mk/bsd.pkg.mk"