diff options
author | ryoon <ryoon> | 2014-01-26 04:43:00 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-01-26 04:43:00 +0000 |
commit | 3ab91416b24ab97d7be454acb36af370cbe04386 (patch) | |
tree | ea26e16419c165f2a87233da35f865eab037aeab | |
parent | 3b3e35d992000681137e76614327727810b66742 (diff) | |
download | pkgsrc-3ab91416b24ab97d7be454acb36af370cbe04386.tar.gz |
Use gcc46 under OpenBSD to suppress warning as error
-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 |