summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2011-12-14 13:13:18 +0000
committertaca <taca>2011-12-14 13:13:18 +0000
commitd61263eb9bb107720e6e49cd98b1d47b9b4ca56a (patch)
tree6ce93141872464c3518586d3e0fd0083149f4b8d /lang
parent26b9a24b07b0aa204cf4272d00a41ef436d62933 (diff)
downloadpkgsrc-d61263eb9bb107720e6e49cd98b1d47b9b4ca56a.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')
-rw-r--r--lang/ruby/json.mk4
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"