summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2014-12-01 12:39:16 +0000
committerjoerg <joerg>2014-12-01 12:39:16 +0000
commit1aca6a09bc4473ee84a60b5ea35ba25bb37f0d44 (patch)
treea72e8e5f647f1d5a7090f9839adb32b77937d891 /graphics
parent4b1fe0cd07d579c77efa747de1e5ffd1f92a4170 (diff)
downloadpkgsrc-1aca6a09bc4473ee84a60b5ea35ba25bb37f0d44.tar.gz
Support cwrappers for packages appending arguments in the wrappers.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exiv2-organize/Makefile4
-rw-r--r--graphics/gtkimageview/Makefile3
2 files changed, 5 insertions, 2 deletions
diff --git a/graphics/exiv2-organize/Makefile b/graphics/exiv2-organize/Makefile
index 254632c7e4f..4f9324c4230 100644
--- a/graphics/exiv2-organize/Makefile
+++ b/graphics/exiv2-organize/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2014/06/05 07:12:53 adam Exp $
+# $NetBSD: Makefile,v 1.26 2014/12/01 12:39:17 joerg Exp $
.include "../../graphics/exiv2/Makefile.common"
@@ -16,8 +16,10 @@ do-install:
# GCC 4.4 and above needs this
.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
_WRAP_EXTRA_ARGS.CXX+= -std=c++0x
+CWRAPPERS_APPEND.cxx+= -std=c++0x
.elif !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CXX+= -std=c++11
+CWRAPPERS_APPEND.cxx+= -std=c++11
.endif
.include "../../graphics/exiv2/buildlink3.mk"
diff --git a/graphics/gtkimageview/Makefile b/graphics/gtkimageview/Makefile
index a90e36442e1..f3076892268 100644
--- a/graphics/gtkimageview/Makefile
+++ b/graphics/gtkimageview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/05/05 00:47:58 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2014/12/01 12:39:17 joerg Exp $
DISTNAME= gtkimageview-1.6.4
PKGREVISION= 20
@@ -30,6 +30,7 @@ TEST_TARGET= check
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-function
+CWRAPPERS_APPEND.cc+= -Wno-error=unused-function
.endif
.include "../../mk/bsd.pkg.mk"