Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 14:36:25 +0300
From:      Vlad Galu <dudu@dudu.ro>
To:        ruby@freebsd.org, freebsd-ports@freebsd.org
Subject:   Small typo in www/rubygem-rails/Makefile
Message-ID:  <AANLkTik1aOYt4yCeW00BsKdx7-SXJ7WqRcS3qDtCcihn@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
PORT_DBDIR didn't have the leading $, thus it wasn't being expanded
correctly. Because of this, make couldn't find the options file and
tried to create a new one in the current directory. In my case, the
ports tree is mounted read-only in a jail.

However, the gem itself seems slightly broken. Installing it from
either the port or through the gem framework yields this:

-- cut here --
Installing ri documentation for rails-3.0.0...
rdoc --ri --op /usr/local/lib/ruby/gems/1.8/doc/rails-3.0.0/ri --quiet
lib --title rails-3.0.0 Documentation
File not found: lib
-- and here --
I can do without the docs, this is just an FYI.

Regards,
Vlad




-- 
Good, fast & cheap. Pick any two.

[-- Attachment #2 --]
--- Makefile	2010-09-02 03:43:27.000000000 +0100
+++ Makefile.new	2010-09-02 09:17:25.000000000 +0100
@@ -31,7 +31,7 @@
 	MONGRELCLUSTER	"Mongrel Cluster backend"	Off \
 	PASSENGER		"Passenger backend"			Off \
 	MEMCACHE_CLIENT "MemCache-Client support" 	Off
-OPTIONSFILE=	{PORT_DBDIR}/rubygem-${PORTNAME}/options
+OPTIONSFILE=	${PORT_DBDIR}/rubygem-${PORTNAME}/options
 
 .include <bsd.port.options.mk>
 
help

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