summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2012-06-06 17:40:14 +0000
committertron <tron@pkgsrc.org>2012-06-06 17:40:14 +0000
commit2ffaffa48518b3ac9ffe2ba47f0068a027b1d11f (patch)
tree2ccef47fdb186f15cddbaac3c84d5ac6883c3873 /print
parentfa616dad93a5748b2ec8e97ad5025d551c60de2a (diff)
downloadpkgsrc-2ffaffa48518b3ac9ffe2ba47f0068a027b1d11f.tar.gz
Pullup ticket #3822 - requested by tron
misc/stellarium/Makefile: build fix print/pdf2djvu/Makefile: build fix Revisions pulled up: - misc/stellarium/Makefile 1.54-1.55 - print/pdf2djvu/Makefile 1.8-1.9 --- Module Name: pkgsrc Committed By: dholland Date: Sat Jun 2 19:35:47 UTC 2012 Modified Files: pkgsrc/misc/stellarium: Makefile Log Message: Use BUILDLINK_TRANSFORM to drop unsupported -W options on netbsd-5. --- Module Name: pkgsrc Committed By: dholland Date: Sat Jun 2 19:38:56 UTC 2012 Modified Files: pkgsrc/print/pdf2djvu: Makefile Log Message: Use BUILDLINK_TRANSFORM to remove -Werror=foo syntax not supported on netbsd-5. --- Module Name: pkgsrc Committed By: obache Date: Sun Jun 3 09:31:32 UTC 2012 Modified Files: pkgsrc/misc/stellarium: Makefile pkgsrc/print/pdf2djvu: Makefile Log Message: require bsd.prefs.mk before conditional check.
Diffstat (limited to 'print')
-rw-r--r--print/pdf2djvu/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/pdf2djvu/Makefile b/print/pdf2djvu/Makefile
index bd0e9909d6c..628ef999ccf 100644
--- a/print/pdf2djvu/Makefile
+++ b/print/pdf2djvu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2012/02/16 04:00:39 ryoon Exp $
+# $NetBSD: Makefile,v 1.6.2.1 2012/06/06 17:40:14 tron Exp $
#
DISTNAME= pdf2djvu_0.7.12
@@ -22,6 +22,11 @@ USE_LANGUAGES= c++ c
USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext gsed:run
TOOLS_DEPENDS.gsed= gsed>=4.2:../../textproc/gsed
+.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-5*)
+BUILDLINK_TRANSFORM+= rm:-Werror=overloaded-virtual
+.endif
+
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"