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 | c7943fa157dfe39a48ac261278c693a099afcc4c (patch) | |
tree | ea26e16419c165f2a87233da35f865eab037aeab /converters | |
parent | b66c6d7c74c4877c2c66cb57ca748e1ce306485e (diff) | |
download | pkgsrc-c7943fa157dfe39a48ac261278c693a099afcc4c.tar.gz |
Use gcc46 under OpenBSD to suppress warning as error
Diffstat (limited to 'converters')
-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 |