FreeBSD Port: rubygem-passenger-4.0.41_2

Steven Hartland killing at multiplay.co.uk
Sun Apr 13 11:28:55 UTC 2014


----- Original Message ----- 
From: "David Keller" <david.keller at litchis.fr>


> Hi Sergey,
> 
> It's not related to gem dependency error but the symlink creation
> might be incorrect:
> ${LN} -s ${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
> 
> Will create the following symlink:
> /usr/local/lib/ruby/gems/1.9/gems/passenger ->
> lib/ruby/gems/1.9/gems/passenger-4.0.41
> 
> Rather than:
> /usr/local/lib/ruby/gems/1.9/gems/passenger ->
> /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41
> 
> Or:
> /usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41
> 
> 
> You might prefer using:
> ${LN} -s ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${GEM_NAME}
> ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
> 
> Or even:
> ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}

My current version has:
(cd ${STAGEDIR}${PREFIX}/${GEMS_DIR} && ${LN} -s ${GEM_NAME} ${PORTNAME})

Which I will create:
/usr/local/lib/ruby/gems/1.9/gems/passenger -> passenger-4.0.41

@Sergey: For your apache module problem try the attached patch / full
version which fixes that for me.

I'd previously only ever built the nginx version and looks like the
apache2 module build was broken when stage support was added.

I've confirmed it builds but I don't have an apache2 install to test
fully with here so if you could let me know if it works and I'll get all
the changes checked in.

    Regards
    Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 3739 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140413/7ccaecc7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.patch
Type: application/octet-stream
Size: 2979 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140413/7ccaecc7/attachment-0001.obj>


More information about the freebsd-ports mailing list