pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2012Q1]: pkgsrc Pullup ticket #3822 - requested by tron



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bb6db9aa14e
branches:  pkgsrc-2012Q1
changeset: 602155:2bb6db9aa14e
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Jun 06 17:40:14 2012 +0000

description:
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:

 misc/stellarium/Makefile |  8 +++++++-
 print/pdf2djvu/Makefile  |  7 ++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 069ef6637536 -r 2bb6db9aa14e misc/stellarium/Makefile
--- a/misc/stellarium/Makefile  Wed Jun 06 11:47:53 2012 +0000
+++ b/misc/stellarium/Makefile  Wed Jun 06 17:40:14 2012 +0000
@@ -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_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 -r 069ef6637536 -r 2bb6db9aa14e print/pdf2djvu/Makefile
--- a/print/pdf2djvu/Makefile   Wed Jun 06 11:47:53 2012 +0000
+++ b/print/pdf2djvu/Makefile   Wed Jun 06 17:40:14 2012 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index