svn commit: r421477 - in head/www/rubygem-passenger: . files
Mathieu Arnold
mat at FreeBSD.org
Wed Sep 7 07:09:11 UTC 2016
Author: mat
Date: Wed Sep 7 07:09:09 2016
New Revision: 421477
URL: https://svnweb.freebsd.org/changeset/ports/421477
Log:
Fix SYMLINK option.
When the SYMLINK option was introduce, a new SUB_LIST was too, but it
was never used.
While there, fix the symlink to be relative, like it should.
PR: 212107
Submitted by: mat
Approved by: maintainer timeout
Sponsored by: Absolight
Modified:
head/www/rubygem-passenger/Makefile (contents, props changed)
head/www/rubygem-passenger/files/pkg-message.in (contents, props changed)
Modified: head/www/rubygem-passenger/Makefile
==============================================================================
--- head/www/rubygem-passenger/Makefile Wed Sep 7 05:58:26 2016 (r421476)
+++ head/www/rubygem-passenger/Makefile Wed Sep 7 07:09:09 2016 (r421477)
@@ -3,6 +3,7 @@
PORTNAME= passenger
PORTVERSION= 5.0.30
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMEPREFIX= rubygem-
@@ -96,7 +97,7 @@ post-install:
${COPYTREE_SHARE} buildout ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION} )
${CHMOD} +x ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/buildout/support-binaries/*
.if ${PORT_OPTIONS:MSYMLINK}
- ${LN} -s ${PREFIX}/${GEM_LIB_DIR} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
+ ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
.endif
.include <bsd.port.mk>
Modified: head/www/rubygem-passenger/files/pkg-message.in
==============================================================================
--- head/www/rubygem-passenger/files/pkg-message.in Wed Sep 7 05:58:26 2016 (r421476)
+++ head/www/rubygem-passenger/files/pkg-message.in Wed Sep 7 07:09:09 2016 (r421477)
@@ -2,8 +2,8 @@
Please edit your Apache configuration file, and add these lines:
- LoadModule passenger_module %%PREFIX%%/%%GEM_LIB_DIR%%/buildout/apache2/mod_passenger.so
- PassengerRoot %%PREFIX%%/%%GEM_LIB_DIR%%
+ LoadModule passenger_module %%PASSENGER_INSTALL_DIR%%/buildout/apache2/mod_passenger.so
+ PassengerRoot %%PASSENGER_INSTALL_DIR%%
PassengerRuby %%RUBY%%
After you restart Apache, you are ready to deploy any number of Ruby on Rails
More information about the svn-ports-all
mailing list