diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-01-26 04:43:00 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-01-26 04:43:00 +0000 |
commit | 5a34bbbb660c65aa0231146f952eea6adefd0d51 (patch) | |
tree | ea26e16419c165f2a87233da35f865eab037aeab /converters/libwpd | |
parent | d43218e21a16572768c9e957f2616d10320db866 (diff) | |
download | pkgsrc-5a34bbbb660c65aa0231146f952eea6adefd0d51.tar.gz |
Use gcc46 under OpenBSD to suppress warning as error
Diffstat (limited to 'converters/libwpd')
-rw-r--r-- | converters/libwpd/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/converters/libwpd/Makefile b/converters/libwpd/Makefile index a4593c01f12..fd4eba970e8 100644 --- a/converters/libwpd/Makefile +++ b/converters/libwpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2014/01/08 10:19:16 jperkin Exp $ +# $NetBSD: Makefile,v 1.30 2014/01/26 04:43:00 ryoon Exp $ DISTNAME= libwpd-0.9.9 CATEGORIES= converters @@ -10,6 +10,13 @@ HOMEPAGE= http://libwpd.sourceforge.net/ COMMENT= Library for importing and exporting WordPerfect(tm) documents LICENSE= gnu-lgpl-v2.1 +.include "../../mk/bsd.prefs.mk" +# OpenBSD's gcc 4.2.1 is not sufficient, and gcc46 is minimal pkgsrc gcc +# for OpenBSD. Avoid warning as error. +.if ${OPSYS} == "OpenBSD" +GCC_REQD+= 4.6 +.endif + USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_TOOLS+= gmake pkg-config |