summaryrefslogtreecommitdiff
path: root/converters/libwpg
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/libwpg
parent4c835a707c7609443fb0cef339181de8c22227b3 (diff)
downloadpkgsrc-2cb3c68d248b9ad02ff40e6cce543b7e63a5c926.tar.gz
GCC 4.6 is required to build under OpenBSD
Diffstat (limited to 'converters/libwpg')
-rw-r--r--converters/libwpg/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libwpg/Makefile b/converters/libwpg/Makefile
index a202aa625c5..66da13805c4 100644
--- a/converters/libwpg/Makefile
+++ b/converters/libwpg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2014/02/02 07:18:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2014/05/12 12:08:29 ryoon Exp $
DISTNAME= libwpg-0.2.2
CATEGORIES= converters graphics
@@ -17,6 +17,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-docs
PKGCONFIG_OVERRIDE+= libwpg-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
+
REPLACE_PERL= src/conv/svg/wpg2svgbatch.pl
.include "../../mk/compiler.mk"