pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby18-base PLIST fixes for IRIX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1825a9e05357
branches:  trunk
changeset: 494807:1825a9e05357
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue May 31 02:19:48 2005 +0000

description:
PLIST fixes for IRIX.
ok @taca

diffstat:

 lang/ruby18-base/Makefile |  10 +++++++++-
 lang/ruby18-base/PLIST    |  10 +++++-----
 2 files changed, 14 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r 305297f902ec -r 1825a9e05357 lang/ruby18-base/Makefile
--- a/lang/ruby18-base/Makefile Mon May 30 23:34:49 2005 +0000
+++ b/lang/ruby18-base/Makefile Tue May 31 02:19:48 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:46:16 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/05/31 02:19:48 jschauma Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -28,6 +28,14 @@
 CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
 .endif
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "IRIX"
+PLIST_SUBST+=  HAS_IO="@comment "
+.else
+PLIST_SUBST+=  HAS_IO=
+.endif
+
 DOCS=          COPYING COPYING.ja ChangeLog README \
                README.EXT README.EXT.ja README.ja ToDo \
                doc/ChangeLog-1.8.0 doc/NEWS \
diff -r 305297f902ec -r 1825a9e05357 lang/ruby18-base/PLIST
--- a/lang/ruby18-base/PLIST    Mon May 30 23:34:49 2005 +0000
+++ b/lang/ruby18-base/PLIST    Tue May 31 02:19:48 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/03/31 16:31:10 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/05/31 02:19:48 jschauma Exp $
 bin/erb${RUBY_VER}
 bin/h2rb${RUBY_VER}
 bin/irb${RUBY_VER}
@@ -79,8 +79,8 @@
 ${RUBY_ARCHLIBDIR}/etc.${RUBY_DLEXT}
 ${RUBY_ARCHLIBDIR}/fcntl.${RUBY_DLEXT}
 ${RUBY_ARCHLIBDIR}/intern.h
-${RUBY_ARCHLIBDIR}/io/wait.${RUBY_DLEXT}
-@dirrm ${RUBY_ARCHLIBDIR}/io
+${HAS_IO}${RUBY_ARCHLIBDIR}/io/wait.${RUBY_DLEXT}
+${HAS_IO}@dirrm ${RUBY_ARCHLIBDIR}/io
 ${RUBY_ARCHLIBDIR}/missing.h
 ${RUBY_ARCHLIBDIR}/nkf.${RUBY_DLEXT}
 ${RUBY_ARCHLIBDIR}/node.h
@@ -108,8 +108,8 @@
 @dirrm ${RUBY_SITELIBDIR}
 @unexec ${RMDIR} %D/lib/ruby/site_ruby 2>/dev/null || ${TRUE}
 ${RUBY_LIBDIR}/importenv.rb
-${RUBY_LIBDIR}/io/nonblock.rb
-@dirrm ${RUBY_LIBDIR}/io
+${HAS_IO}${RUBY_LIBDIR}/io/nonblock.rb
+${HAS_IO}@dirrm ${RUBY_LIBDIR}/io
 ${RUBY_LIBDIR}/ipaddr.rb
 ${RUBY_LIBDIR}/irb/cmd/chws.rb
 ${RUBY_LIBDIR}/irb/cmd/fork.rb



Home | Main Index | Thread Index | Old Index