Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 16:49:50 -0800 (PST)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   ports/93457: bsd.ruby.mk clobbers CONFIGURE_TARGET 
Message-ID:  <43f51dae.575fe6b6.56ff.ffffac47@mx.gmail.com>
Resent-Message-ID: <200602170110.k1H1A3Jq076720@freefall.freebsd.org>

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

>Number:         93457
>Category:       ports
>Synopsis:       bsd.ruby.mk clobbers CONFIGURE_TARGET
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 01:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
none
>Environment:
System: FreeBSD 6.0-RELEASE-p4 i386


	
>Description:
bsd.ruby.mk does not allow override on CONFIGURE_TARGET
I am in the process of making a ruby port that uses GNU_CONFIGURE and it is a
canonical build.  I need to be able to set CONFIGURE_TARGET for this port,
otherwise an undesired prefix will be added to the names of the binaries
	
>How-To-Repeat:
Use USE_RUBY and GNU_CONFIGURE at the same time with a canonical build
	
>Fix:
I suggest that the CONFIGURE_TARGET in bsd.ruby.mk be changed to allow override
Attached is a diff that would do just that
	

--- 2006-02-16-bsd.ruby.mk.diff begins here ---
--- bsd.ruby.mk.orig	Thu Feb 16 19:23:08 2006
+++ bsd.ruby.mk	Thu Feb 16 19:08:50 2006
@@ -162,7 +162,7 @@
 .endif
 #      defined(RUBY_VER) && ${RUBY_VER} == 1.8
 
-CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL:C/\..*//}
+CONFIGURE_TARGET?=	${ARCH}-portbld-freebsd${OSREL:C/\..*//}
 
 RUBY_ARCH?=		${ARCH}-freebsd${OSREL:C/\..*//}
 RUBY_NAME?=		ruby${RUBY_SUFFIX}
--- 2006-02-16-bsd.ruby.mk.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43f51dae.575fe6b6.56ff.ffffac47>