summaryrefslogtreecommitdiff
path: root/converters/libe-book
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/libe-book
parent4c835a707c7609443fb0cef339181de8c22227b3 (diff)
downloadpkgsrc-2cb3c68d248b9ad02ff40e6cce543b7e63a5c926.tar.gz
GCC 4.6 is required to build under OpenBSD
Diffstat (limited to 'converters/libe-book')
-rw-r--r--converters/libe-book/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libe-book/Makefile b/converters/libe-book/Makefile
index 611272833a7..a4de5102f9d 100644
--- a/converters/libe-book/Makefile
+++ b/converters/libe-book/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/04/09 07:27:03 obache Exp $
+# $NetBSD: Makefile,v 1.4 2014/05/12 12:10:11 ryoon Exp $
DISTNAME= libe-book-0.0.3
PKGREVISION= 1
@@ -18,6 +18,12 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c++
+.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
+
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --without-docs