pkgsrc-Users archive

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

Re: gem'izing ruby-gnome2-*?



wiz@ wrote:

> On Wed, Jan 20, 2016 at 10:38:50PM +0100, Thomas Klausner wrote:
> > I'll fix the PLISTs locally.
> 
> I've fixed all PLISTs locally and updated ruby-progressbar, and now
> ruby-squib starts fine (i.e., does not complain about missing gems any
> longer).
> 
> Is it ok to commit your gem'd packages with my updated PLISTs?

I notice you have already changed ruby-rcairo to ruby-cairo on gem'fy:
 http://mail-index.netbsd.org/pkgsrc-changes/2016/01/11/msg134990.html
 http://mail-index.netbsd.org/pkgsrc-changes/2016/01/11/msg134991.html

So maybe several Makefiles in my shar should be modified to reflect
changes and ruby-rcairo should not be readded.


I've also tried builds on NetBSD/amd64 7.0 + pkgsrc HEAD,
and ruby-cairo doesn't create extensions dir but make doesn't
complain about PLIST.

It looks "make print-PLIST" cannot handle ${GEM_EXTSDIR}
with older ruby versions?

 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/ruby/gem-vars.mk?rev=1.3&content-type=text/x-cvsweb-markup
---
.if ${_RUBYGEMS_MAJOR} >= 2 && ${_RUBYGEMS_MINORS} >= 2 && exists(${RUBYGEM})
GEM_EXTSDIR_NEEDS_SUBDIR?=      yes
RUBY_GEM_ARCH!= ${RUBYGEM} environment platform | ${SED} -e 's|.*:||'

.if !empty(GEM_EXTSDIR_NEEDS_SUBDIR:M[nN][oO])
GEM_EXTSDIR=    ${GEM_HOME}/extensions/${RUBY_GEM_ARCH}/${RUBY_VER_DIR}
.else
GEM_EXTSDIR=    ${GEM_HOME}/extensions/${RUBY_GEM_ARCH}/${RUBY_VER_DIR}/${GEM_NAME}
.endif

.endif

.if !empty(GEM_EXTSDIR)
PLIST_SUBST+=           GEM_EXTSDIR=${GEM_EXTSDIR}
.else
PLIST_SUBST+=           GEM_EXTSDIR="@comment "
.endif
---

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index