pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Nov  1 18:05:31 UTC 2023

Modified Files:
        pkgsrc/lang/php: ext.mk

Log Message:
php: Restore EXTENSION_* variables.

Any php package built since gdt's change on Oct 21st and now will be broken and
must be rebuilt, as well as replacing the installed configuration files, to
avoid syntax errors in installed php ini files.

Resolves TritonDataCenter/pkgsrc#367.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/php/ext.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php/ext.mk
diff -u pkgsrc/lang/php/ext.mk:1.47 pkgsrc/lang/php/ext.mk:1.48
--- pkgsrc/lang/php/ext.mk:1.47 Sat Oct 21 23:27:42 2023
+++ pkgsrc/lang/php/ext.mk      Wed Nov  1 18:05:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ext.mk,v 1.47 2023/10/21 23:27:42 gdt Exp $
+# $NetBSD: ext.mk,v 1.48 2023/11/01 18:05:31 jperkin Exp $
 #
 # PHP extension package framework, for both PECL and bundled PHP extensions.
 #
@@ -80,6 +80,14 @@ MAKE_ENV+=           EXPORT_SYMBOLS_LDFLAGS="${EX
 
 PLIST_SRC+=            ${.CURDIR}/../../lang/php/PLIST.module
 
+.if ${PHP_ZEND_EXTENSION:U:tl} == "yes"
+EXTENSION_DIRECTIVE=   zend_extension
+EXTENSION_FILE=                ${PREFIX}/${PHP_EXTENSION_DIR}/${PKGMODNAME}.${SHLIB_SUFFIX}
+.else
+EXTENSION_DIRECTIVE=   extension
+EXTENSION_FILE=                ${PKGMODNAME}.${SHLIB_SUFFIX}
+.endif
+
 # Also include extension-specific message
 .if exists(${.CURDIR}/MESSAGE)
 MESSAGE_SRC+=          ${.CURDIR}/MESSAGE



Home | Main Index | Thread Index | Old Index