ports/188905: [PATCH] www/rubygem-passenger: fix apache module install

Steve Wills swills at FreeBSD.org
Wed Apr 23 04:10:00 UTC 2014


>Number:         188905
>Category:       ports
>Synopsis:       [PATCH] www/rubygem-passenger: fix apache module install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 23 04:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264228M: Sun Apr 13 03:26:28 UTC
>Description:
- Convert to new LIB_DEPENDS format
- Some files are missing from the apache module install, add them manually

Without this, the apache module isn't included and doesn't work. The helpers in
particular are important.

Port maintainer (osa at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- rubygem-passenger-4.0.41.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 351911)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	passenger
 PORTVERSION=	4.0.41
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 PKGNAMEPREFIX=	rubygem-
@@ -39,9 +39,9 @@
 .endif
 .endif
 
-LIB_DEPENDS+=	eio:${PORTSDIR}/devel/libeio \
-		ev:${PORTSDIR}/devel/libev \
-		curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS+=	libeio.so:${PORTSDIR}/devel/libeio \
+		libev.so:${PORTSDIR}/devel/libev \
+		libcurl.so:${PORTSDIR}/ftp/curl
 BUILD_DEPENDS+=	rubygem-fastthread>=1.0.1:${PORTSDIR}/devel/rubygem-fastthread \
 		rubygem-rack>=0:${PORTSDIR}/www/rubygem-rack \
 		rubygem-daemon_controller>=1.2.0:${PORTSDIR}/devel/rubygem-daemon_controller
@@ -116,4 +116,11 @@
 	${FIND} ${WRKSRC} -name '*.o' -delete
 	${FIND} ${WRKSRC} -name '*.bak' -delete
 
+post-install:
+.if ${PORT_OPTIONS:MAPACHE22}
+	( cd ${WRKSRC} && \
+	${COPYTREE_SHARE} buildout ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION} )
+	${CHMOD} +x ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/buildout/agents/*
+.endif
+
 .include <bsd.port.mk>
--- rubygem-passenger-4.0.41.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list