aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-09-30 18:25:04 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-09-30 22:11:19 +0000
commit5b93136e223e85fe6e10b691af5860fa2e978e5b (patch)
treee891f33569d45c0e30a206bab983c75ed77bcfff
parentd0e7f199fae39b1a8e64c5c30a296692e1cf1c82 (diff)
downloadports-5b93136e223e85fe6e10b691af5860fa2e978e5b.tar.gz
ports-5b93136e223e85fe6e10b691af5860fa2e978e5b.zip
comms/gkermit: enable use of errno.h for errno
The code to be standards conformant was there, just not enabled by default so enable it.
-rw-r--r--comms/gkermit/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/gkermit/Makefile b/comms/gkermit/Makefile
index 36599f3407c7..27ac61996af5 100644
--- a/comms/gkermit/Makefile
+++ b/comms/gkermit/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gkermit
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ftp://ftp.kermitproject.org/kermit/archives/
DISTNAME= gku100
@@ -16,6 +16,8 @@ MAKEFILE= makefile
OPTIONS_DEFINE= DOCS
+CFLAGS+= -DERRNO_H
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gkermit ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gkermit.nr ${STAGEDIR}${PREFIX}/share/man/man1/gkermit.1