pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-pdo_mysql php-pdo_mysql: split options i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ab6581b2c3b
branches: trunk
changeset: 455304:4ab6581b2c3b
user: nia <nia%pkgsrc.org@localhost>
date: Fri Jul 02 15:21:12 2021 +0000
description:
php-pdo_mysql: split options into options.mk
diffstat:
databases/php-pdo_mysql/Makefile | 21 +++------------------
databases/php-pdo_mysql/options.mk | 14 ++++++++++++++
2 files changed, 17 insertions(+), 18 deletions(-)
diffs (52 lines):
diff -r c822a31e248d -r 4ab6581b2c3b databases/php-pdo_mysql/Makefile
--- a/databases/php-pdo_mysql/Makefile Fri Jul 02 15:19:30 2021 +0000
+++ b/databases/php-pdo_mysql/Makefile Fri Jul 02 15:21:12 2021 +0000
@@ -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 @@
USE_PHP_EXT_PATCHES= yes
-.include "../../mk/bsd.prefs.mk"
-
+.include "options.mk"
+.include "../../databases/php-pdo/buildlink3.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 "../../databases/php-pdo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r c822a31e248d -r 4ab6581b2c3b databases/php-pdo_mysql/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_mysql/options.mk Fri Jul 02 15:21:12 2021 +0000
@@ -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