diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-14 14:41:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-14 14:41:23 +0000 |
commit | c20569e29b4e73c13d6b8549cdf85525af03e817 (patch) | |
tree | 8810a372c425d41ef72f2519c36fb1da8468779f /x11/gnustep-preferences | |
parent | d9acaf19a3ed2865c2efef4ab2d590b78d02de41 (diff) | |
download | pkgsrc-c20569e29b4e73c13d6b8549cdf85525af03e817.tar.gz |
Ignore unused constants for clang.
Diffstat (limited to 'x11/gnustep-preferences')
-rw-r--r-- | x11/gnustep-preferences/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/gnustep-preferences/Makefile b/x11/gnustep-preferences/Makefile index b6d0add4f14..311d4e3a26d 100644 --- a/x11/gnustep-preferences/Makefile +++ b/x11/gnustep-preferences/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2013/05/09 07:40:36 adam Exp $ +# $NetBSD: Makefile,v 1.40 2013/10/14 14:41:23 joerg Exp $ DISTNAME= Preferences-1.2.0 PKGNAME= gnustep-${DISTNAME:S/P/p/} @@ -26,6 +26,12 @@ SUBST_FILES.gnustep_installation_dir+= PrefsModule/GNUmakefile.preamble SUBST_FILES.gnustep_installation_dir+= Modules/Keyboard/GNUmakefile SUBST_SED.gnustep_installation_dir+= -e 's|\$$(GNUSTEP_SYSTEM_ROOT)/Library/Preferences|$${DESTDIR}${GNUSTEP_LIB_DIR}/Preferences|' +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +_WRAP_EXTRA_ARGS.CC+= -Wno-unused-const-variable +.endif + .include "../../x11/gnustep-back/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |