pkgsrc-Bugs archive

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

Re: pkg/44480: lang/python18-base and lang/python19-base build invalid +CONTENTS under Solaris



On 30.1.2011, at 15:10, Uwe Klaus wrote:

> This means the main shared library lib/libruby19.so.1 is not part of the 
> binary package.

The patch needed should be as follows:

diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index 3ef63e8..83c6b17 100644
--- a/lang/ruby/rubyversion.mk
+++ b/lang/ruby/rubyversion.mk
@@ -193,6 +193,8 @@ RUBY_STATICLIB=             
${RUBY_VER}.${RUBY_API_VERSION}-static.a
 .endif
 .elif ${OPSYS} == "Linux"
 _RUBY_SHLIBALIAS=      
${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}
+.elif ${OPSYS} == "SunOS"
+_RUBY_SHLIBALIAS=      ${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_VER_MAJOR}
 .endif
 
 .if !empty(_RUBY_SHLIBALIAS)


Home | Main Index | Thread Index | Old Index