pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters GCC 4.6 is required to build under OpenBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a80a4bed3dd8
branches:  trunk
changeset: 634229:a80a4bed3dd8
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon May 12 12:08:29 2014 +0000

description:
GCC 4.6 is required to build under OpenBSD

diffstat:

 converters/libabw/Makefile    |  8 +++++++-
 converters/libe-book/Makefile |  8 +++++++-
 converters/libwpg/Makefile    |  8 +++++++-
 converters/libwps/Makefile    |  8 +++++++-
 4 files changed, 28 insertions(+), 4 deletions(-)

diffs (88 lines):

diff -r db3d52c789de -r a80a4bed3dd8 converters/libabw/Makefile
--- a/converters/libabw/Makefile        Mon May 12 11:41:46 2014 +0000
+++ b/converters/libabw/Makefile        Mon May 12 12:08:29 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/05/04 17:00:09 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2014/05/12 12:09:11 ryoon Exp $
 
 DISTNAME=      libabw-0.0.2
 CATEGORIES=    converters
@@ -12,6 +12,12 @@
 
 TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
 
+.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
+
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    perl:build pkg-config
diff -r db3d52c789de -r a80a4bed3dd8 converters/libe-book/Makefile
--- a/converters/libe-book/Makefile     Mon May 12 11:41:46 2014 +0000
+++ b/converters/libe-book/Makefile     Mon May 12 12:08:29 2014 +0000
@@ -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_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
 
diff -r db3d52c789de -r a80a4bed3dd8 converters/libwpg/Makefile
--- a/converters/libwpg/Makefile        Mon May 12 11:41:46 2014 +0000
+++ b/converters/libwpg/Makefile        Mon May 12 12:08:29 2014 +0000
@@ -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 @@
 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"
diff -r db3d52c789de -r a80a4bed3dd8 converters/libwps/Makefile
--- a/converters/libwps/Makefile        Mon May 12 11:41:46 2014 +0000
+++ b/converters/libwps/Makefile        Mon May 12 12:08:29 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index