Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2016 07:09:09 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421477 - in head/www/rubygem-passenger: . files
Message-ID:  <201609070709.u87799up052001@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609070709.u87799up052001>