diff options
author | ryoon <ryoon> | 2014-01-26 04:43:00 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-01-26 04:43:00 +0000 |
commit | 5c69d3eb8a76969abd288787f2453e5d56c5086e (patch) | |
tree | ea26e16419c165f2a87233da35f865eab037aeab /converters/libwpd/Makefile | |
parent | 681b55400adf91e6f8e45484f43dc3fd6de4f750 (diff) | |
download | pkgsrc-5c69d3eb8a76969abd288787f2453e5d56c5086e.tar.gz |
Use gcc46 under OpenBSD to suppress warning as error
Diffstat (limited to 'converters/libwpd/Makefile')
-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 |