diff options
author | manu <manu@pkgsrc.org> | 2018-07-31 12:32:04 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2018-07-31 12:32:04 +0000 |
commit | b5f283dff261dd460ddcdab66d15b68393a59a57 (patch) | |
tree | 37e48ee9c61d519beea6df8e8e2ed4a959d35a00 | |
parent | 1419cbed4330e931a0d6daef56e50a8719b87926 (diff) | |
download | pkgsrc-b5f283dff261dd460ddcdab66d15b68393a59a57.tar.gz |
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.
-rw-r--r-- | converters/wkhtmltopdf/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile index 4e22800f4fd..f1e003be9e3 100644 --- a/converters/wkhtmltopdf/Makefile +++ b/converters/wkhtmltopdf/Makefile @@ -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 |