summaryrefslogtreecommitdiff
path: root/editors/lyx/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-03-10 20:55:46 +0000
committermarkd <markd@pkgsrc.org>2012-03-10 20:55:46 +0000
commit94365f1c951268154415a507580bb744b6fdc300 (patch)
treeed126be907e0300f62cfea19a9f73cf0b530facc /editors/lyx/Makefile
parent0bdb9fc44f7563f1f0b264374961473e6bc06619 (diff)
downloadpkgsrc-94365f1c951268154415a507580bb744b6fdc300.tar.gz
Fix build with gcc4.6
Add -fpermissive for Linux
Diffstat (limited to 'editors/lyx/Makefile')
-rw-r--r--editors/lyx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/lyx/Makefile b/editors/lyx/Makefile
index 9d04cf79e75..1afd4f9a5ca 100644
--- a/editors/lyx/Makefile
+++ b/editors/lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/03/03 00:13:00 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2012/03/10 20:55:46 markd Exp $
#
DISTNAME= lyx-1.6.9
@@ -69,6 +69,8 @@ USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
GCC_REQD+= 2.95
+CXXFLAGS.Linux+= -fpermissive
+
CONFIGURE_ARGS+= --with-extra-prefix=${BUILDLINK_PREFIX.qt4-libs} \
--with-qt4-dir=${QTDIR:Q} \
--with-qt4-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include \