pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mysql55-client databases/mysql55-client: app...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00a6495dfba6
branches:  trunk
changeset: 428170:00a6495dfba6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Apr 25 18:23:23 2020 +0000

description:
databases/mysql55-client: apply pkglint suggestions

diffstat:

 databases/mysql55-client/Makefile.common |  6 +++---
 databases/mysql55-client/options.mk      |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r c0a6521e969d -r 00a6495dfba6 databases/mysql55-client/Makefile.common
--- a/databases/mysql55-client/Makefile.common  Sat Apr 25 18:19:46 2020 +0000
+++ b/databases/mysql55-client/Makefile.common  Sat Apr 25 18:23:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.67 2020/04/18 17:33:51 gdt Exp $
+# $NetBSD: Makefile.common,v 1.68 2020/04/25 18:23:23 rillig Exp $
 #
 # used by databases/mysql55-client/Makefile
 # used by databases/mysql55-server/Makefile
@@ -73,7 +73,7 @@
 BROKEN_READLINE_DETECTION=     yes # At least on RHEL 5.6
 
 # MySQL 5 depends on builtin functions enabled with i486 and later with GCC.
-.if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386)
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == i386
 GNU_ARCH.i386=         i486
 CFLAGS+=               -march=i486
 .endif
@@ -131,7 +131,7 @@
 
 .include "../../mk/readline.buildlink3.mk"
 
-.if !empty(READLINE_TYPE:Mreadline)
+.if ${READLINE_TYPE} == readline
 CMAKE_ARGS+=   -DREADLINE_FOUND=system
 .endif
 CMAKE_ARGS+=   -DREADLINE_INCLUDE_DIR=${BUILDLINK_PREFIX.editlinereadline}/include/readline
diff -r c0a6521e969d -r 00a6495dfba6 databases/mysql55-client/options.mk
--- a/databases/mysql55-client/options.mk       Sat Apr 25 18:19:46 2020 +0000
+++ b/databases/mysql55-client/options.mk       Sat Apr 25 18:23:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2017/05/03 12:37:01 mef Exp $
+# $NetBSD: options.mk,v 1.14 2020/04/25 18:23:23 rillig Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mysql5
 
@@ -8,7 +8,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-.      include "../../security/openssl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 
 # Enable DTrace support
 .if !empty(PKG_OPTIONS:Mdtrace)
@@ -24,9 +24,9 @@
 SPHINX_VER=    2.2.11
 DISTFILES=     ${DEFAULT_DISTFILES} sphinx-${SPHINX_VER}-release${EXTRACT_SUFX}
 SITES.sphinx-2.2.11-release.tar.gz=    http://sphinxsearch.com/files/
-.if !empty(PKGPATH:Mdatabases/mysql55-server)
+.  if ${PKGPATH} == databases/mysql55-server
 MESSAGE_SRC=   ${PKGDIR}/MESSAGE ${PKGDIR}/MESSAGE.sphinx
-.endif
+.  endif
 PLIST.sphinx=  yes
 
 post-extract:



Home | Main Index | Thread Index | Old Index