diff options
author | tron <tron> | 2012-06-06 17:40:14 +0000 |
---|---|---|
committer | tron <tron> | 2012-06-06 17:40:14 +0000 |
commit | b17b116195f8e25b5239ace3abe06dfa0bfce4ec (patch) | |
tree | 2ccef47fdb186f15cddbaac3c84d5ac6883c3873 | |
parent | 51993fef7fd09b20933c6d9abd95750b94cc5dc4 (diff) | |
download | pkgsrc-b17b116195f8e25b5239ace3abe06dfa0bfce4ec.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.
-rw-r--r-- | misc/stellarium/Makefile | 8 | ||||
-rw-r--r-- | print/pdf2djvu/Makefile | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/misc/stellarium/Makefile b/misc/stellarium/Makefile index 61f1ae67d40..baa564df039 100644 --- a/misc/stellarium/Makefile +++ b/misc/stellarium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2012/03/03 00:13:37 wiz Exp $ +# $NetBSD: Makefile,v 1.52.2.1 2012/06/06 17:40:14 tron Exp $ DISTNAME= stellarium-0.11.1 PKGREVISION= 3 @@ -25,6 +25,12 @@ SUBST_FILES.mac= src/core/StelFileMgr.cpp SUBST_STAGE.mac= pre-configure SUBST_SED.mac= -e 's,Q_OS_MAC,Q_XX_MAC,' +.include "../../mk/bsd.prefs.mk" +.if !empty(MACHINE_PLATFORM:MNetBSD-5*) +BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-parameter +BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable +.endif + .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/boost-headers/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" 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" |