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: gnats-bugs%NetBSD.org@localhost, ryo_on%yk.rim.or.jp@localhost
Cc:
Subject: Re: pkg/43687: make package in devel/ruby-readline needs root
privilege
Date: Tue, 31 Aug 2010 02:31:42 +0900 (JST)
Hi,
Please try this patch under /usr/pkgsrc/lang:
Index: ruby/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ruby/Makefile.common,v
retrieving revision 1.19
diff -u -r1.19 Makefile.common
--- ruby/Makefile.common 10 Jun 2009 13:38:55 -0000 1.19
+++ ruby/Makefile.common 30 Aug 2010 17:06:53 -0000
@@ -46,6 +46,18 @@
STRIP?= strip
#
+# Avoid to use -o and -g options with install.
+#
+INSTALL_PROGRAM= ${INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_LIB= ${INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE}
+INSTALL_MAN= ${INSTALL} ${COPY} -m ${MANMODE}
+INSTALL_PROGRAM_DIR= ${INSTALL} -d -m ${PKGDIRMODE}
+INSTALL_DATA_DIR= ${INSTALL} -d -m ${PKGDIRMODE}
+INSTALL_MAN_DIR= ${INSTALL} -d -m ${PKGDIRMODE}
+
+#
# PLIST substitution
#
PLIST_SUBST+= RUBY_SHLIBVER=${RUBY_SHLIBVER:Q} \
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 30 Aug 2010 17:06:53 -0000
@@ -5,7 +5,7 @@
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
-PKGREVISION= 6
+PKGREVISION= 7
MAINTAINER= taca%NetBSD.org@localhost
HOMEPAGE= ${RUBY_HOMEPAGE}
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index