ports/93457: bsd.ruby.mk clobbers CONFIGURE_TARGET
Jason E. Hale
bsdkaffee at gmail.com
Fri Feb 17 01:10:04 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list