diff options
author | markd <markd@pkgsrc.org> | 2012-03-10 20:55:46 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2012-03-10 20:55:46 +0000 |
commit | 94365f1c951268154415a507580bb744b6fdc300 (patch) | |
tree | ed126be907e0300f62cfea19a9f73cf0b530facc /editors/lyx/Makefile | |
parent | 0bdb9fc44f7563f1f0b264374961473e6bc06619 (diff) | |
download | pkgsrc-94365f1c951268154415a507580bb744b6fdc300.tar.gz |
Fix build with gcc4.6
Add -fpermissive for Linux
Diffstat (limited to 'editors/lyx/Makefile')
-rw-r--r-- | editors/lyx/Makefile | 4 |
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 \ |