----- Original Message ----- From: "David Keller" <david.kel...@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

Attachment: Makefile
Description: Binary data

Attachment: Makefile.patch
Description: Binary data

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to