pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/fail2ban fail2ban: fix build on linux and others



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ab02e372777
branches:  trunk
changeset: 359726:0ab02e372777
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Mar 16 21:08:35 2017 +0000

description:
fail2ban: fix build on linux and others

having an empty SUBST_SED returns usage and a non-zero exit value and
the build doesn't continue.

diffstat:

 security/fail2ban/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ae73171b7f13 -r 0ab02e372777 security/fail2ban/Makefile
--- a/security/fail2ban/Makefile        Thu Mar 16 20:10:02 2017 +0000
+++ b/security/fail2ban/Makefile        Thu Mar 16 21:08:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/02/02 18:35:56 nils Exp $
+# $NetBSD: Makefile,v 1.7 2017/03/16 21:08:35 maya Exp $
 #
 
 DISTNAME=      fail2ban-0.9.6
@@ -92,6 +92,8 @@
 SUBST_SED.ostype=      -e "s,\#before = paths-distro.conf,before = paths-osx.conf,g"
 .elif ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
 SUBST_SED.ostype=      -e "s,\#before = paths-distro.conf,before = paths-freebsd.conf,g"
+.else
+SUBST_SED.ostype=      -e 's,this cant be empty,,g'
 .endif
 
 



Home | Main Index | Thread Index | Old Index