Subject: Re: pkg/32711: devel/ruby-activesupport fails to install under
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 02/03/2006 04:35:02
The following reply was made to PR pkg/32711; it has been noted by GNATS.

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org, chris.fuhrman@tfcci.com
Cc: 
Subject: Re: pkg/32711: devel/ruby-activesupport fails to install under
 Solaris 5.10 w/pkgsrc-2005Q4
Date: Fri, 03 Feb 2006 13:31:20 +0900 (JST)

 In message <20060202204500.4586A63B879@narn.netbsd.org>
 	on Thu,  2 Feb 2006 20:45:00 +0000 (UTC),
 	chris.fuhrman@tfcci.com wrote:
 > >Fix:
 > The problem is in the Makefile.  It's calling ${INSTALL_DATA_DIR} instead of ${INSTALL_DATA}.  Thus, to fix the issue, apply the following patch:
 > 
 > Common subdirectories: ruby-activesupport/CVS and ruby-activesupport.new/CVS
 > diff ruby-activesupport/Makefile ruby-activesupport.new/Makefile
 > 23c23
 > <       ${INSTALL_DATA_DIR} ${WRKSRC}/CHANGELOG \
 > ---
 > >       ${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
 Please use "-u" or "-c" option to diff(1).
 
 Anyway, it's very strange.
 Revision 1.5 of devel/ruby-activesupport/Makefile shows:
 
 	${FIND} ${RUBY_SITELIBDIR}/active_support* -type f		\
 		-exec ${CHMOD} ${LIBMODE} {} \;
 	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}
 	${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
 		${RUBY_DOCDIR}/CHANGELOG.activesupport
 
 It never use INSTALL_DATA_DIR to install ${WRKSRC}/CHANGELOG but
 INSTALL_DATA and your output lacks making directory with previous
 INSTALL_DATA_DIR's line.
 
 -- 
 Takahiro Kambe <taca@back-street.net>