pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/flow-tools net/flow-tools: fix some pkglint warnings



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d7e878ae1ad
branches:  trunk
changeset: 339420:5d7e878ae1ad
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 12 21:04:15 2019 +0000

description:
net/flow-tools: fix some pkglint warnings

diffstat:

 net/flow-tools/Makefile |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (58 lines):

diff -r 6132d6f2eb31 -r 5d7e878ae1ad net/flow-tools/Makefile
--- a/net/flow-tools/Makefile   Thu Sep 12 21:01:07 2019 +0000
+++ b/net/flow-tools/Makefile   Thu Sep 12 21:04:15 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2019/04/25 07:33:10 maya Exp $
+# $NetBSD: Makefile,v 1.39 2019/09/12 21:04:15 rillig Exp $
 
 DISTNAME=      flow-tools-0.68
 PKGREVISION=   9
@@ -15,7 +15,7 @@
 CPPFLAGS.SunOS+=       -Du_int8_t=uint8_t -Du_int32_t=uint32_t
 
 PKG_SYSCONFSUBDIR=     flow-tools
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
 EGDIR=         ${PREFIX}/share/examples/flow-tools
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/sym
@@ -27,7 +27,7 @@
 .endfor
 MESSAGE_SUBST+=        EGDIR=${EGDIR}
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.flow-tools
+PKG_OPTIONS_VAR=               PKG_OPTIONS.flow-tools
 PKG_OPTIONS_OPTIONAL_GROUPS=   database
 PKG_SUPPORTED_OPTIONS=         python
 PKG_OPTIONS_GROUP.database=    mysql pgsql
@@ -43,7 +43,7 @@
 # PostgreSQL support.
 .if !empty(PKG_OPTIONS:Mpgsql)
 .  include "../../mk/pgsql.buildlink3.mk"
-CONFIGURE_ARGS+=       --with-pgsql=${PGSQL_PREFIX:Q}
+CONFIGURE_ARGS+=       --with-pgsql=${PGSQL_PREFIX}
 .endif
 
 # Python scripts support.
@@ -52,10 +52,10 @@
 .  include "../../lang/python/application.mk"
 
 REPLACE_PYTHON=        bin/flow-rpt2rrd bin/flow-log2rrd bin/flow-rptfmt
-PLIST.python=          yes
+PLIST.python=  yes
 
 post-install:
-.   for s in flow-rpt2rrd flow-log2rrd flow-rptfmt
+.  for s in flow-rpt2rrd flow-log2rrd flow-rptfmt
        ${INSTALL_SCRIPT} ${WRKSRC}/bin/${s} ${PREFIX}/bin/${s}
        ${INSTALL_MAN} ${WRKSRC}/docs/${s}.1 ${PREFIX}/${PKGMANDIR}/man1/${s}.1
 .  endfor
@@ -65,7 +65,7 @@
 # Order is important here or else dependencies requiring docbook-to-man/jade
 # will be triggered
 post-patch:
-       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
+       ${RUN}                                                          \
        cd ${WRKSRC}/docs &&                                            \
        for m in flow-*.1.in; do                                        \
                h=`${BASENAME} $${m} .1.in`.html.in;                    \



Home | Main Index | Thread Index | Old Index