Date: Thu, 26 Jan 2006 11:45:39 GMT From: Jonathan Weiss <jw@innerewut.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/92358: [update] www/rubygem-rails - introducion OPTIONS for fcgi and memcach-client support Message-ID: <200601261145.k0QBjd4F009693@www.freebsd.org> Resent-Message-ID: <200601261150.k0QBo9Kt099577@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92358 >Category: ports >Synopsis: [update] www/rubygem-rails - introducion OPTIONS for fcgi and memcach-client support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 26 11:50:08 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jonathan Weiss >Release: 6-STABLE >Organization: >Environment: FreeBSD xxx.nodomain 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 24 11:26:45 CET 2006 root@xxx.nodomain:/usr/obj/usr/src/sys/xxx i386 >Description: This update introduces OPTIONS in order to make the port depend on www/ruby-fcgi and databases/rubygem-memcache-client. The default is 'Off' for both options. The memcache-client part depends on the new port submitted in ports/92350 >How-To-Repeat: >Fix: The following patch updates the port: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/rubygem-rails/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 21 Jan 2006 20:25:07 -0000 1.5 +++ Makefile 26 Jan 2006 11:37:49 -0000 @@ -20,6 +20,22 @@ ${LOCALBASE}/${SPEC_DIR}/activerecord-1.13.2.gemspec:${PORTSDIR}/databases/rubygem-activerecord RUN_DEPENDS= ${BUILD_DEPENDS} +OPTIONS= FCGI "FastCGI support" Off\ + MEMCACHE_CLIENT "MemCache-Client support" Off +OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options + +# to get RUBY_SITEARCHLIBDIR +USE_RUBY= yes + .include <bsd.port.pre.mk> + +.if defined(WITH_FCGI) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi +.endif + +.if defined(WITH_MEMCACHE_CLIENT) +RUN_DEPENDS+= ${LOCALBASE}/${SPEC_DIR}/memcache-client-1.0.3.gemspec:${PORTSDIR}/databases/rubygem-memcache-client +.endif + .include "${PORTSDIR}/devel/ruby-gems/Makefile.common" .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601261145.k0QBjd4F009693>