diff options
author | jschauma <jschauma> | 2003-06-05 14:52:34 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-05 14:52:34 +0000 |
commit | 02da895c40cc00ba631bfb9e40207864f7eb869a (patch) | |
tree | 8578226ae6062482d553539b94416322f2d2ea8e /lang | |
parent | 43efadd08efe55a178e3a94c92a937d74b349b4d (diff) | |
download | pkgsrc-02da895c40cc00ba631bfb9e40207864f7eb869a.tar.gz |
Make this install on IRIX by setting some RUBY_NO_FOO vars in PLIST_SUBST.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby-base/Makefile.common | 19 | ||||
-rw-r--r-- | lang/ruby-base/PLIST | 12 |
2 files changed, 24 insertions, 7 deletions
diff --git a/lang/ruby-base/Makefile.common b/lang/ruby-base/Makefile.common index 1a200c6847f..8d6c1bb40b3 100644 --- a/lang/ruby-base/Makefile.common +++ b/lang/ruby-base/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2003/03/24 14:49:37 taca Exp $ +# $NetBSD: Makefile.common,v 1.13 2003/06/05 14:52:34 jschauma Exp $ # FreeBSD: ports/Mk/bsd.ruby.mk,v 1.11 2000/11/16 17:59:40 knu Exp # Makefile.common: ruby common makefile, based on FreeBSD's bsd.ruby.mk. @@ -100,6 +100,18 @@ RUBY_SHLIBVER?= ${RUBY_VERSION:S/.//} .else RUBY_SHLIBVER?= ${RUBY_VERSION} .endif + +.if ${OPSYS} == "IRIX" +RUBY_NOSHLIBMAJOR= "@comment " +RUBY_NOEXT_CURSES= "@comment " +RUBY_NOEXT_DBM= "@comment " +RUBY_NOEXT_ETC= "@comment " +RUBY_NOEXT_PTY= "@comment " +RUBY_NOEXT_SOCK= "@comment " +RUBY_NOEXT_SYSL= "@comment " +RUBY_NOEXT_EXPECT= "@comment " +.endif + RUBY_SHLIBMAJOR?= ${_RUBY_SUFFIX} #CONFIGURE_TARGET?= ${RUBY_ARCH} @@ -133,6 +145,11 @@ PLIST_SUBST+= RUBY_VERSION="${RUBY_VERSION}" \ RUBY_NAME="${RUBY_NAME}" \ RUBY_NOEXT_CURSES=${RUBY_NOEXT_CURSES} \ RUBY_NOEXT_DBM=${RUBY_NOEXT_DBM} \ + RUBY_NOEXT_ETC=${RUBY_NOEXT_ETC} \ + RUBY_NOEXT_PTY=${RUBY_NOEXT_PTY} \ + RUBY_NOEXT_SOCK=${RUBY_NOEXT_SOCK} \ + RUBY_NOEXT_SYSL=${RUBY_NOEXT_SYSL} \ + RUBY_NOEXT_EXPECT=${RUBY_NOEXT_EXPECT} \ RUBY_NOSHLIBMAJOR=${RUBY_NOSHLIBMAJOR} \ RUBY_COMMENT=${RUBY_COMMENT} \ ${PLIST_RUBY_DIRS:S,DIR="${LOCALBASE}/,DIR=",} diff --git a/lang/ruby-base/PLIST b/lang/ruby-base/PLIST index 0b82da9d547..941248b210b 100644 --- a/lang/ruby-base/PLIST +++ b/lang/ruby-base/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2003/03/24 14:49:37 taca Exp $ +@comment $NetBSD: PLIST,v 1.8 2003/06/05 14:52:35 jschauma Exp $ bin/irb bin/ruby bin/ruby${_RUBY_SUFFIX} @@ -11,13 +11,13 @@ ${RUBY_NOEXT_DBM}${RUBY_ARCHLIBDIR}/dbm.so ${RUBY_ARCHLIBDIR}/defines.h ${RUBY_ARCHLIBDIR}/dln.h ${RUBY_ARCHLIBDIR}/env.h -${RUBY_ARCHLIBDIR}/etc.so +${RUBY_NOEXT_ETC}${RUBY_ARCHLIBDIR}/etc.so ${RUBY_ARCHLIBDIR}/fcntl.so ${RUBY_ARCHLIBDIR}/intern.h ${RUBY_ARCHLIBDIR}/lib${RUBY_NAME}.a ${RUBY_ARCHLIBDIR}/nkf.so ${RUBY_ARCHLIBDIR}/node.h -${RUBY_ARCHLIBDIR}/pty.so +${RUBY_NOEXT_PTY}${RUBY_ARCHLIBDIR}/pty.so ${RUBY_ARCHLIBDIR}/rbconfig.rb ${RUBY_ARCHLIBDIR}/re.h ${RUBY_ARCHLIBDIR}/regex.h @@ -25,9 +25,9 @@ ${RUBY_ARCHLIBDIR}/ruby.h ${RUBY_ARCHLIBDIR}/rubyio.h ${RUBY_ARCHLIBDIR}/rubysig.h ${RUBY_ARCHLIBDIR}/sdbm.so -${RUBY_ARCHLIBDIR}/socket.so +${RUBY_NOEXT_SOCK}${RUBY_ARCHLIBDIR}/socket.so ${RUBY_ARCHLIBDIR}/st.h -${RUBY_ARCHLIBDIR}/syslog.so +${RUBY_NOEXT_SYSL}${RUBY_ARCHLIBDIR}/syslog.so ${RUBY_ARCHLIBDIR}/util.h ${RUBY_ARCHLIBDIR}/version.h ${RUBY_LIBDIR}/English.rb @@ -44,7 +44,7 @@ ${RUBY_LIBDIR}/debug.rb ${RUBY_LIBDIR}/delegate.rb ${RUBY_LIBDIR}/e2mmap.rb ${RUBY_LIBDIR}/eregex.rb -${RUBY_LIBDIR}/expect.rb +${RUBY_NOEXT_EXPECT}${RUBY_LIBDIR}/expect.rb ${RUBY_LIBDIR}/final.rb ${RUBY_LIBDIR}/finalize.rb ${RUBY_LIBDIR}/find.rb |