pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/wkhtmltopdf



Module Name:    pkgsrc
Committed By:   manu
Date:           Tue Jul 31 12:32:04 UTC 2018

Modified Files:
        pkgsrc/converters/wkhtmltopdf: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/converters/wkhtmltopdf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/wkhtmltopdf/Makefile
diff -u pkgsrc/converters/wkhtmltopdf/Makefile:1.2 pkgsrc/converters/wkhtmltopdf/Makefile:1.3
--- pkgsrc/converters/wkhtmltopdf/Makefile:1.2  Sun Sep 10 19:58:36 2017
+++ pkgsrc/converters/wkhtmltopdf/Makefile      Tue Jul 31 12:32:04 2018
@@ -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 @@ HOMEPAGE=   https://wkhtmltopdf.org/
 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