Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 17:03:48 +0100 (CET)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dinoex@FreeBSD.org
Subject:   ports/131648: [PATCH] textproc/eruby: unbreak after recent ruby upgrade
Message-ID:  <200902131603.n1DG3mLO042397@backoffice.colby.local>
Resent-Message-ID: <200902131620.n1DGK1Gc022026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         131648
>Category:       ports
>Synopsis:       [PATCH] textproc/eruby: unbreak after recent ruby upgrade
>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:   Fri Feb 13 16:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 7.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD backoffice 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Mon Jan  5 15:38:58 CET
>Description:
This patch avoids a nil reference in configure.rb, which causes the build to fail.

Added file(s):
- files/patch-configure.rb

Port maintainer (dinoex@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- eruby-1.0.5.patch begins here ---
Index: files/patch-configure.rb
===================================================================
RCS file: files/patch-configure.rb
diff -N files/patch-configure.rb
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure.rb	13 Feb 2009 16:02:12 -0000
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- configure.rb.orig
++++ configure.rb
+@@ -307,6 +307,7 @@
+ end
+ $LIBS = CONFIG["LIBS"]
+ $XLDFLAGS = CONFIG["XLDFLAGS"]
++$XLDFLAGS = "" if $XLDFLAGS.nil?
+ $XLDFLAGS.gsub!(/-L\./, "")
+ if /mswin32/ !~ RUBY_PLATFORM
+   $XLDFLAGS += " -L$(libdir)"
--- eruby-1.0.5.patch ends here ---

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



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