diff options
author | taca <taca@pkgsrc.org> | 2011-12-14 13:13:18 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-12-14 13:13:18 +0000 |
commit | 76a3314e13f42a2187cf201266484df6465fabc2 (patch) | |
tree | 6ce93141872464c3518586d3e0fd0083149f4b8d /lang/ruby | |
parent | fcd4beee3640c76e6466340776ada5ae9d71f21f (diff) | |
download | pkgsrc-76a3314e13f42a2187cf201266484df6465fabc2.tar.gz |
Avoid using .warning make(1) directive which isn't supported on NetBSD 5.
Instead, append warning message to WARNINGS macro.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/json.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/json.mk b/lang/ruby/json.mk index f46ade1156c..af292cafbe1 100644 --- a/lang/ruby/json.mk +++ b/lang/ruby/json.mk @@ -1,4 +1,4 @@ -# $NetBSD: json.mk,v 1.1 2011/11/23 05:18:58 taca Exp $ +# $NetBSD: json.mk,v 1.2 2011/12/14 13:13:18 taca Exp $ # This file handles appropriate dependency to ruby-json pacakge. # @@ -23,7 +23,7 @@ _RUBY_JSON_MK= # defined RUBY_JSON_TYPE?= json .if empty(RUBY_JSON_REQD) -.warning "No needs to include ../../lang/ruby/json.mk" +WARNINGS+= "[lang/ruby/json.mk] No needs to include ../../lang/ruby/json.mk" .else # !empty(RUBY_JSON_REQD) .include "../../lang/ruby/rubyversion.mk" |