pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/wkhtmltopdf Build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8fabe7f0f092
branches:  trunk
changeset: 311076:8fabe7f0f092
user:      manu <manu%pkgsrc.org@localhost>
date:      Tue Jul 31 12:32:04 2018 +0000

description:
Build fix

We had "error: 'std::tr1' has not been declared" because all code was
not yet updated for -std=gnu++11. Use -std=gnu++98 instead.

diffstat:

 converters/wkhtmltopdf/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 768673383c62 -r 8fabe7f0f092 converters/wkhtmltopdf/Makefile
--- a/converters/wkhtmltopdf/Makefile   Tue Jul 31 12:27:14 2018 +0000
+++ b/converters/wkhtmltopdf/Makefile   Tue Jul 31 12:32:04 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/09/10 19:58:36 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2018/07/31 12:32:04 manu Exp $
 
 DISTNAME=       wkhtmltox-0.12.4
 PKGNAME=       wkhtmltopdf-0.12.4
@@ -14,10 +14,12 @@
 COMMENT=       Command line tools to render HTML into PDF
 LICENSE=       gnu-lgpl-v3
 
-USE_LANGUAGES+=        c c++ gnu++11
+USE_LANGUAGES+=        c c++ gnu++98
 USE_TOOLS+=    perl
 #USE_LIBTOOL=  yes
 
+BUILDLINK_TRANSFORM+=   opt:-std=gnu++11:-std=gnu++98 
+
 SUBST_CLASSES+=                x11
 SUBST_MESSAGE.x11=     Fixing x11 options.
 SUBST_STAGE.x11=       pre-configure



Home | Main Index | Thread Index | Old Index