pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43687: make package in devel/ruby-readline needs root privilege
The following reply was made to PR pkg/43687; it has been noted by GNATS.
From: Takahiro Kambe <taca%back-street.net@localhost>
To: ryo_on%yk.rim.or.jp@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/43687: make package in devel/ruby-readline needs root
privilege
Date: Tue, 31 Aug 2010 10:11:17 +0900 (JST)
In message <20100831.054227.85227512.ryo_on%yk.rim.or.jp@localhost>
on Tue, 31 Aug 2010 05:42:27 +0900 (JST),
Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:
> I installed as root, /usr/pkg/lib/ruby/1.8/i486-netbsdelf/rbconfig.rb has
> CONFIG["INSTALL"] = '/usr/bin/install -c -o root -g wheel'
> line.
>
> as me (ryo_on), it has
> CONFIG["INSTALL"] = '/usr/bin/install -c -o ryo_on -g elements'
>
> We still have -o and -g options.
> Problem is not solved.
Oops, I forgot to one more patch. Please apply below one, too.
Best regards.
Index: ruby18-base/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ruby18-base/Makefile,v
retrieving revision 1.56
diff -u -r1.56 Makefile
--- ruby18-base/Makefile 16 Aug 2010 07:08:12 -0000 1.56
+++ ruby18-base/Makefile 31 Aug 2010 00:57:34 -0000
@@ -28,7 +28,7 @@
CONFIGURE_ARGS+= --enable-shared \
--with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
--with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
-CONFIGURE_ENV+= PREFIX=${PREFIX}
+CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}"
WRKSRC= ${RUBY_WRKSRC}
.include "../../mk/compiler.mk"
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index