From d61263eb9bb107720e6e49cd98b1d47b9b4ca56a Mon Sep 17 00:00:00 2001 From: taca Date: Wed, 14 Dec 2011 13:13:18 +0000 Subject: Avoid using .warning make(1) directive which isn't supported on NetBSD 5. Instead, append warning message to WARNINGS macro. --- lang/ruby/json.mk | 4 ++-- 1 file 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" -- cgit v1.2.3