Subject: pkg/18720: minor tweaks for lang/ruby-base
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/19/2002 15:47:38
>Number:         18720
>Category:       pkg
>Synopsis:       minor tweaks for lang/ruby-base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 12:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002/10/18
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD

>Description:

	I don't remember exactly why I needed this fix, but it may have
	something to do with using 'env -i' to catch bugs.  In any case
	it makes a lot of common sense to pass MAKE_ENV to MAKE,
	especially when SETENV is used to call MAKE!  ;-)

	also there is a fix for a small typo in a message string

>How-To-Repeat:

>Fix:

Index: lang/ruby-base/Makefile.common
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/lang/ruby-base/Makefile.common,v
retrieving revision 1.8
diff -c -r1.8 Makefile.common
*** lang/ruby-base/Makefile.common	9 Jun 2002 11:29:53 -0000	1.8
--- lang/ruby-base/Makefile.common	18 Jun 2002 04:29:27 -0000
***************
*** 162,168 ****
  ruby-extconf-build:
  .for d in ${RUBY_EXTCONF_SUBDIRS}
  	@${ECHO_MSG} "===>  Building ${d}"
! 	@cd ${WRKSRC}/${d}; ${SETENV} ${MAKE} ${ALL_TARGET}
  .endfor
  .endif
  
--- 162,168 ----
  ruby-extconf-build:
  .for d in ${RUBY_EXTCONF_SUBDIRS}
  	@${ECHO_MSG} "===>  Building ${d}"
! 	@cd ${WRKSRC}/${d}; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
  .endfor
  .endif
  
***************
*** 242,248 ****
  		esac ;; \
  	esac; ${ECHO} "no"
  .if ${_RUBY_PROVIDED} == "no"
! IGNORE+=		"This package require ruby ${RUBY_REQD} or later."
  .endif
  .else
  RUBY_REQD?=		${RUBY_VERSION}
--- 242,248 ----
  		esac ;; \
  	esac; ${ECHO} "no"
  .if ${_RUBY_PROVIDED} == "no"
! IGNORE+=		"This package requires ruby ${RUBY_REQD} or later."
  .endif
  .else
  RUBY_REQD?=		${RUBY_VERSION}
>Release-Note:
>Audit-Trail:
>Unformatted: