pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases databases/libdbi-driver-*: rename Makefile_d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0688e9292557
branches:  trunk
changeset: 393304:0688e9292557
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 16 14:06:21 2019 +0000

description:
databases/libdbi-driver-*: rename Makefile_drivers to silence pkglint

Makefile fragments are commonly written in *.mk or Makefile.* files.
Using an underscore instead of a dot confuses pkglint.

diffstat:

 databases/libdbi-driver-mysql/Makefile           |   4 ++--
 databases/libdbi-driver-pgsql/Makefile           |   4 ++--
 databases/libdbi-driver-sqlite/Makefile          |   4 ++--
 databases/libdbi-driver-sqlite3/Makefile         |   4 ++--
 databases/libdbi-driver-sqlite3/Makefile_drivers |  23 -----------------------
 databases/libdbi-driver-sqlite3/driver.mk        |  24 ++++++++++++++++++++++++
 6 files changed, 32 insertions(+), 31 deletions(-)

diffs (109 lines):

diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-mysql/Makefile
--- a/databases/libdbi-driver-mysql/Makefile    Sat Mar 16 14:03:53 2019 +0000
+++ b/databases/libdbi-driver-mysql/Makefile    Sat Mar 16 14:06:21 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2016/08/21 19:16:57 fhajny Exp $
+# $NetBSD: Makefile,v 1.7 2019/03/16 14:06:21 rillig Exp $
 #
 
-.include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
+.include "../../databases/libdbi-driver-sqlite3/driver.mk"
 
 LICENSE=               gnu-lgpl-v2.1
 
diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-pgsql/Makefile
--- a/databases/libdbi-driver-pgsql/Makefile    Sat Mar 16 14:03:53 2019 +0000
+++ b/databases/libdbi-driver-pgsql/Makefile    Sat Mar 16 14:06:21 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2016/10/09 21:41:56 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2019/03/16 14:06:21 rillig Exp $
 #
 
 PKGREVISION= 1
-.include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
+.include "../../databases/libdbi-driver-sqlite3/driver.mk"
 
 LICENSE=               gnu-lgpl-v2.1
 
diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-sqlite/Makefile
--- a/databases/libdbi-driver-sqlite/Makefile   Sat Mar 16 14:03:53 2019 +0000
+++ b/databases/libdbi-driver-sqlite/Makefile   Sat Mar 16 14:06:21 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2016/08/21 19:16:58 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2019/03/16 14:06:22 rillig Exp $
 #
 
-.include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
+.include "../../databases/libdbi-driver-sqlite3/driver.mk"
 
 LICENSE=               gnu-lgpl-v2.1
 
diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-sqlite3/Makefile
--- a/databases/libdbi-driver-sqlite3/Makefile  Sat Mar 16 14:03:53 2019 +0000
+++ b/databases/libdbi-driver-sqlite3/Makefile  Sat Mar 16 14:06:21 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2018/12/09 18:52:19 adam Exp $
+# $NetBSD: Makefile,v 1.23 2019/03/16 14:06:22 rillig Exp $
 #
 
 PKGREVISION= 7
-.include "../../databases/libdbi-driver-sqlite3/Makefile_drivers"
+.include "../../databases/libdbi-driver-sqlite3/driver.mk"
 
 LICENSE=               gnu-lgpl-v2.1
 
diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-sqlite3/Makefile_drivers
--- a/databases/libdbi-driver-sqlite3/Makefile_drivers  Sat Mar 16 14:03:53 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile_drivers,v 1.4 2016/08/21 19:16:58 fhajny Exp $
-#
-
-DISTNAME=      libdbi-drivers-0.9.0
-PKGNAME=       ${DISTNAME:S/libdbi-drivers/libdbi-driver-${DRIVER}/:S/-1/.1/:S/-2/.2/}
-CATEGORIES=    databases devel
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libdbi-drivers/}
-
-MAINTAINER=    cheusov%NetBSD.org@localhost
-HOMEPAGE=      http://libdbi-drivers.sourceforge.net/
-
-USE_LIBTOOL=           yes
-GNU_CONFIGURE=         yes
-
-DISTINFO_FILE=         ${.CURDIR}/../../databases/libdbi-driver-sqlite3/distinfo
-PATCHDIR=              ${.CURDIR}/../../databases/libdbi-driver-sqlite3/patches
-
-INSTALLATION_DIRS+=    lib/dbd
-
-CONFIGURE_ARGS+=       --disable-dependency-tracking
-CONFIGURE_ARGS+=       --with-dbi-incdir=${BUILDLINK_PREFIX.libdbi}/include/dbi
-CONFIGURE_ARGS+=       --with-dbi-libdir=${BUILDLINK_PREFIX.libdbi}/lib
-CONFIGURE_ARGS+=       --disable-docs
diff -r 7f89294d2c38 -r 0688e9292557 databases/libdbi-driver-sqlite3/driver.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbi-driver-sqlite3/driver.mk Sat Mar 16 14:06:21 2019 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: driver.mk,v 1.1 2019/03/16 14:06:22 rillig Exp $
+#
+# Common definitions for the individual DBI drivers (not only SQLite3).
+
+DISTNAME=      libdbi-drivers-0.9.0
+PKGNAME=       ${DISTNAME:S/libdbi-drivers/libdbi-driver-${DRIVER}/:S/-1/.1/:S/-2/.2/}
+CATEGORIES=    databases devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libdbi-drivers/}
+
+MAINTAINER=    cheusov%NetBSD.org@localhost
+HOMEPAGE=      http://libdbi-drivers.sourceforge.net/
+
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+DISTINFO_FILE=         ${.CURDIR}/../../databases/libdbi-driver-sqlite3/distinfo
+PATCHDIR=              ${.CURDIR}/../../databases/libdbi-driver-sqlite3/patches
+
+INSTALLATION_DIRS+=    lib/dbd
+
+CONFIGURE_ARGS+=       --disable-dependency-tracking
+CONFIGURE_ARGS+=       --with-dbi-incdir=${BUILDLINK_PREFIX.libdbi}/include/dbi
+CONFIGURE_ARGS+=       --with-dbi-libdir=${BUILDLINK_PREFIX.libdbi}/lib
+CONFIGURE_ARGS+=       --disable-docs



Home | Main Index | Thread Index | Old Index