From 9d2c5515ebed46f5b26d6ed2218efefa7d299eda Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 6 Oct 2014 15:38:57 +0000 Subject: FreeBSD decided that getline must be explicitly requested. --- pkgtools/cwrappers/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgtools') diff --git a/pkgtools/cwrappers/Makefile b/pkgtools/cwrappers/Makefile index 06176ea2433..e0d519c76ba 100644 --- a/pkgtools/cwrappers/Makefile +++ b/pkgtools/cwrappers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2014/10/06 14:57:53 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2014/10/06 15:38:57 joerg Exp $ PKGNAME= cwrappers-20100308 CATEGORIES= pkgtools sysutils @@ -22,6 +22,7 @@ MAKE_ENV+= NEED_MI_VECTOR_HASH=1 MAKE_ENV+= NEED_GETLINE=1 .endif +CFLAGS.FreeBSD+= -D_WITH_GETLINE CFLAGS.Linux+= -D_GNU_SOURCE=1 do-extract: -- cgit v1.2.3