pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ap-php
Module Name: pkgsrc
Committed By: taca
Date: Sun Dec 1 16:17:18 UTC 2024
Modified Files:
pkgsrc/www/ap-php: Makefile
Log Message:
www/ap-php: fix build with php56
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/www/ap-php/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ap-php/Makefile
diff -u pkgsrc/www/ap-php/Makefile:1.59 pkgsrc/www/ap-php/Makefile:1.60
--- pkgsrc/www/ap-php/Makefile:1.59 Sun Jul 7 08:58:41 2024
+++ pkgsrc/www/ap-php/Makefile Sun Dec 1 16:17:18 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2024/07/07 08:58:41 nia Exp $
+# $NetBSD: Makefile,v 1.60 2024/12/01 16:17:18 taca Exp $
PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION}
PKGREVISION= 11
@@ -6,7 +6,7 @@ COMMENT= Apache (${PKG_APACHE}) module
CONFLICTS= ap-php-[0-9]*
-USE_TOOLS+= autoconf lex pkg-config bison
+USE_TOOLS+= lex pkg-config bison
TOOL_DEPENDS+= re2c-[0-9]*:../../devel/re2c
@@ -16,6 +16,13 @@ FORTIFY_SUPPORTED= no
SSP_SUPPORTED= no
.include "../../lang/php/phpversion.mk"
+
+.if ${PKG_PHP_MAJOR_VERS} < 7
+USE_TOOLS+= autoconf269
+.else
+USE_TOOLS+= autoconf
+.endif
+
.include "${PHPPKGSRCDIR}/Makefile.php"
# Ensure we export symbols in the linked shared object.
Home |
Main Index |
Thread Index |
Old Index