aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-11-24 14:21:41 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-11-24 14:57:09 +0000
commitbad02a5349dd7eb23e0c67b9b11ddd8f4eeca02b (patch)
tree39d90f438e71faf1e17bc1a4228c9cff429afd7b
parentd13dd9ffd25805422add046b16908242e793f393 (diff)
downloadports-bad02a5349dd7eb23e0c67b9b11ddd8f4eeca02b.tar.gz
ports-bad02a5349dd7eb23e0c67b9b11ddd8f4eeca02b.zip
sysutils/fetchlog: fix build in 14-current
PR: 259935 Reported by: alexander.haderer@loescap.de (maintainer)
-rw-r--r--sysutils/fetchlog/Makefile2
-rw-r--r--sysutils/fetchlog/files/patch-Makefile10
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/fetchlog/Makefile b/sysutils/fetchlog/Makefile
index cea36b6c10ce..1640d9865605 100644
--- a/sysutils/fetchlog/Makefile
+++ b/sysutils/fetchlog/Makefile
@@ -8,6 +8,8 @@ MASTER_SITES= SF
MAINTAINER= alexander.haderer@loescap.de
COMMENT= Fetch and convert new messages of a logfile
+LICENSE= GPLv2
+
PORTDOCS= CHANGES README README.Nagios README.SNMP
PORTEXAMPLES= fetchlog.cfg fetchlog_service.cfg notify.cfg.example
diff --git a/sysutils/fetchlog/files/patch-Makefile b/sysutils/fetchlog/files/patch-Makefile
index 9139c6f706ad..c69aa4dfac18 100644
--- a/sysutils/fetchlog/files/patch-Makefile
+++ b/sysutils/fetchlog/files/patch-Makefile
@@ -1,17 +1,17 @@
---- Makefile.orig 2010-06-21 11:35:08.000000000 +0200
-+++ Makefile 2010-06-21 19:10:33.000000000 +0200
-@@ -23,8 +23,8 @@
+--- Makefile.orig 2010-07-02 10:10:08 UTC
++++ Makefile
+@@ -23,8 +23,8 @@ FETCHLOG_VERSION=1.4
### compiler
### gcc
-CC=gcc
-CFLAGS= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
+CC?=cc
-+CFLAGS+= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
++CFLAGS+= -O -Wall -Wcast-qual -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align
### cc
#CC=cc
-@@ -57,7 +57,7 @@
+@@ -57,7 +57,7 @@ HAS_REGEX=-DHAS_REGEX
### installdir
### will use $INSTDIR/bin and $INSTDIR/man/man1,
### both dirs have to exist for installation