summaryrefslogtreecommitdiff
path: root/converters/libwps
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-05-12 12:08:29 +0000
committerryoon <ryoon@pkgsrc.org>2014-05-12 12:08:29 +0000
commit2cb3c68d248b9ad02ff40e6cce543b7e63a5c926 (patch)
treee0b387354e5afe2c85208fcf9a19f86732fbaa33 /converters/libwps
parent4c835a707c7609443fb0cef339181de8c22227b3 (diff)
downloadpkgsrc-2cb3c68d248b9ad02ff40e6cce543b7e63a5c926.tar.gz
GCC 4.6 is required to build under OpenBSD
Diffstat (limited to 'converters/libwps')
-rw-r--r--converters/libwps/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libwps/Makefile b/converters/libwps/Makefile
index 14a463333fa..a1898eb2e32 100644
--- a/converters/libwps/Makefile
+++ b/converters/libwps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/01/09 09:35:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.11 2014/05/12 12:09:43 ryoon Exp $
DISTNAME= libwps-0.2.4
CATEGORIES= converters
@@ -17,6 +17,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-docs
PKGCONFIG_OVERRIDE+= libwps-0.2.pc.in
+.include "../../mk/bsd.prefs.mk"
+# GCC 4.5 or later may be required, and gcc45 is not provided for OpenBSD
+.if ${OPSYS} == "OpenBSD"
+GCC_REQD+= 4.6
+.endif
+
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CXX+= -Wno-unused-private-field -Wno-unused-const-variable