summaryrefslogtreecommitdiff
path: root/converters/libwpd/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2014-01-26 04:43:00 +0000
committerryoon <ryoon>2014-01-26 04:43:00 +0000
commit5c69d3eb8a76969abd288787f2453e5d56c5086e (patch)
treeea26e16419c165f2a87233da35f865eab037aeab /converters/libwpd/Makefile
parent681b55400adf91e6f8e45484f43dc3fd6de4f750 (diff)
downloadpkgsrc-5c69d3eb8a76969abd288787f2453e5d56c5086e.tar.gz
Use gcc46 under OpenBSD to suppress warning as error
Diffstat (limited to 'converters/libwpd/Makefile')
-rw-r--r--converters/libwpd/Makefile9
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