pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/libwpd Use gcc46 under OpenBSD to suppress ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e28b80c7b3eb
branches: trunk
changeset: 629697:e28b80c7b3eb
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Jan 26 04:43:00 2014 +0000
description:
Use gcc46 under OpenBSD to suppress warning as error
diffstat:
converters/libwpd/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 6b6a3e0e1b4d -r e28b80c7b3eb converters/libwpd/Makefile
--- a/converters/libwpd/Makefile Sun Jan 26 04:22:03 2014 +0000
+++ b/converters/libwpd/Makefile Sun Jan 26 04:43:00 2014 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index