summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-18 23:18:40 +0000
committerjoerg <joerg>2005-12-18 23:18:40 +0000
commit4443c8008b72f417e6fde19da00809eb6075cd90 (patch)
tree0097a80ac96ff232e2d38136dd429fe1b9228145 /comms
parent305aff1832cd1a79d99988585c23386dd0e8b435 (diff)
downloadpkgsrc-4443c8008b72f417e6fde19da00809eb6075cd90.tar.gz
Include ERRNO_H in CFLAGS to get proper errno.
Diffstat (limited to 'comms')
-rw-r--r--comms/gkermit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/gkermit/Makefile b/comms/gkermit/Makefile
index 1332a1e4f74..a18535a643d 100644
--- a/comms/gkermit/Makefile
+++ b/comms/gkermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/12/05 20:49:54 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2005/12/18 23:18:40 joerg Exp $
#
DISTNAME= gku100
@@ -18,6 +18,10 @@ BUILD_TARGET= posix
MAKEFILE= makefile
MAKE_ENV+= KFLAGS=${CFLAGS:M*:Q}
+.include "../../mk/bsd.prefs.mk"
+
+CFLAGS+= -DERRNO_H
+
INSTALLATION_DIRS= bin man/man1
do-install: