diff options
author | joerg <joerg@pkgsrc.org> | 2014-10-06 15:38:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-10-06 15:38:57 +0000 |
commit | 9d2c5515ebed46f5b26d6ed2218efefa7d299eda (patch) | |
tree | 84817bdbea7c312b387eb5859f5c62dbb5b69830 /pkgtools | |
parent | be4dd9e88e099d27ec3024c7533e53ccb5148436 (diff) | |
download | pkgsrc-9d2c5515ebed46f5b26d6ed2218efefa7d299eda.tar.gz |
FreeBSD decided that getline must be explicitly requested.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/cwrappers/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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: |