pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/php-mysqli



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul  2 15:18:42 UTC 2021

Modified Files:
        pkgsrc/databases/php-mysqli: Makefile
Added Files:
        pkgsrc/databases/php-mysqli: options.mk

Log Message:
php-mysqli: split options.mk into separate file


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/php-mysqli/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-mysqli/options.mk

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

Modified files:

Index: pkgsrc/databases/php-mysqli/Makefile
diff -u pkgsrc/databases/php-mysqli/Makefile:1.14 pkgsrc/databases/php-mysqli/Makefile:1.15
--- pkgsrc/databases/php-mysqli/Makefile:1.14   Wed Jun 23 20:33:08 2021
+++ pkgsrc/databases/php-mysqli/Makefile        Fri Jul  2 15:18:42 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/06/23 20:33:08 nia Exp $
+# $NetBSD: Makefile,v 1.15 2021/07/02 15:18:42 nia Exp $
 
 PKGREVISION=           1
 MODNAME=               mysqli
@@ -9,18 +9,6 @@ MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 
 CONFLICTS=     php-mysqli-[0-9]*
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.php-mysqli
-PKG_SUPPORTED_OPTIONS= mysqlnd
-PKG_SUGGESTED_OPTIONS= # empty
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mmysqlnd)
-CONFIGURE_ARGS+=       --with-${MODNAME}=shared,mysqlnd
-.else
-.  include "../../mk/mysql.buildlink3.mk"
-CONFIGURE_ARGS+=       --with-${MODNAME}=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
-.endif
-
+.include "options.mk"
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/databases/php-mysqli/options.mk
diff -u /dev/null pkgsrc/databases/php-mysqli/options.mk:1.1
--- /dev/null   Fri Jul  2 15:18:42 2021
+++ pkgsrc/databases/php-mysqli/options.mk      Fri Jul  2 15:18:42 2021
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2021/07/02 15:18:42 nia Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.php-mysqli
+PKG_SUPPORTED_OPTIONS= mysqlnd
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmysqlnd)
+CONFIGURE_ARGS+=       --with-${MODNAME}=shared,mysqlnd
+.else
+.  include "../../mk/mysql.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-${MODNAME}=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
+.endif



Home | Main Index | Thread Index | Old Index