Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 21:29:47 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491659 - head/www/rubygem-passenger
Message-ID:  <201901302129.x0ULTl0r085563@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Wed Jan 30 21:29:46 2019
New Revision: 491659
URL: https://svnweb.freebsd.org/changeset/ports/491659

Log:
  Fix the symlink to be relative.
  symlinks in PREFIX should always be relative.
  
  PR:		235327
  Approved by:	blanket approval
  MFH:		2019Q1

Modified:
  head/www/rubygem-passenger/Makefile

Modified: head/www/rubygem-passenger/Makefile
==============================================================================
--- head/www/rubygem-passenger/Makefile	Wed Jan 30 21:20:06 2019	(r491658)
+++ head/www/rubygem-passenger/Makefile	Wed Jan 30 21:29:46 2019	(r491659)
@@ -3,7 +3,7 @@
 
 PORTNAME=	passenger
 PORTVERSION=	6.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 PKGNAMEPREFIX=	rubygem-
@@ -101,7 +101,7 @@ post-install:
 .if ${FLAVOR} == apache
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so
 	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
-	${LN} -sf ${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_passenger.so
+	${LN} -sf ../../${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_passenger.so
 	@${ECHO} "${APACHEMODDIR}/mod_passenger.so" >> ${TMPPLIST}
 .endif
 



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