summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-03-26 06:57:06 +0000
committerasau <asau@pkgsrc.org>2014-03-26 06:57:06 +0000
commit8c0802f1027e3d4a5513e7abe0bce395c8aede2a (patch)
tree802a13014a3896581ae564121a04196d0ffe5fbe /math
parenta10851b37ab99394b7b8bd111c8aae4e840ca4f1 (diff)
downloadpkgsrc-8c0802f1027e3d4a5513e7abe0bce395c8aede2a.tar.gz
Define _WITH_GETLINE for getline(3) on FreeBSD 9.
Diffstat (limited to 'math')
-rw-r--r--math/fityk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 23bfe939eaf..892e021b78b 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2014/02/24 12:35:10 wiedi Exp $
+# $NetBSD: Makefile,v 1.29 2014/03/26 06:57:06 asau Exp $
DISTNAME= fityk-0.9.7
PKGREVISION= 16
@@ -18,6 +18,8 @@ GNU_CONFIGURE= yes
# XXX: xyconvert requires wxWidgets >= 2.9
CONFIGURE_ARGS+= --disable-xyconvert
+CFLAGS.FreeBSD+= -D_WITH_GETLINE
+
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../math/xylib/buildlink3.mk"