summaryrefslogtreecommitdiff
path: root/lang/php54/Makefile.common
blob: 3d956070d7c7b2acdcb2f3c2b59174b80cdab749 (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
# $NetBSD: Makefile.common,v 1.19 2015/03/16 00:26:31 taca Exp $
# used by lang/php54/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php54-extensions/Makefile
# used by devel/libthrift/options.mk
# used by databases/php-sqlrelay/Makefile

PHP_VERSION_REQD=	54

.include "../../lang/php/common.mk"

CATEGORIES+=		www
MAINTAINER?=		pkgsrc-users@NetBSD.org

# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+=		PHP_LIBXML_SHARED="1"

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
# configure test gets confused by wrappers dropping -R /usr/lib
CONFIGURE_ARGS+=	php_cv_cc_dashr=no
.endif

.include "../../mk/bsd.prefs.mk"