pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/php-pdo_mysql
Module Name: pkgsrc
Committed By: nia
Date: Fri Jul 2 15:21:12 UTC 2021
Modified Files:
pkgsrc/databases/php-pdo_mysql: Makefile
Added Files:
pkgsrc/databases/php-pdo_mysql: options.mk
Log Message:
php-pdo_mysql: split options into options.mk
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/databases/php-pdo_mysql/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-pdo_mysql/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-pdo_mysql/Makefile
diff -u pkgsrc/databases/php-pdo_mysql/Makefile:1.20 pkgsrc/databases/php-pdo_mysql/Makefile:1.21
--- pkgsrc/databases/php-pdo_mysql/Makefile:1.20 Wed Jun 23 20:33:09 2021
+++ pkgsrc/databases/php-pdo_mysql/Makefile Fri Jul 2 15:21:12 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/06/23 20:33:09 nia Exp $
+# $NetBSD: Makefile,v 1.21 2021/07/02 15:21:12 nia Exp $
PKGREVISION= 1
MODNAME= pdo_mysql
@@ -7,22 +7,7 @@ COMMENT= PHP extension for PHP Data Obj
USE_PHP_EXT_PATCHES= yes
-.include "../../mk/bsd.prefs.mk"
-
-.include "../../lang/php/ext.mk"
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.php-pdo_mysql
-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
-CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.mysql-client}
-.include "../../mk/mysql.buildlink3.mk"
-.endif
-
+.include "options.mk"
.include "../../databases/php-pdo/buildlink3.mk"
+.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
Added files:
Index: pkgsrc/databases/php-pdo_mysql/options.mk
diff -u /dev/null pkgsrc/databases/php-pdo_mysql/options.mk:1.1
--- /dev/null Fri Jul 2 15:21:12 2021
+++ pkgsrc/databases/php-pdo_mysql/options.mk Fri Jul 2 15:21:12 2021
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2021/07/02 15:21:12 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.php-pdo_mysql
+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
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.mysql-client}
+.include "../../mk/mysql.buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index