From nobody@FreeBSD.ORG Mon Jun 14 09:41:04 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 5FF59150C7; Mon, 14 Jun 1999 09:41:04 -0700 (PDT)
Message-Id: <19990614164104.5FF59150C7@hub.freebsd.org>
Date: Mon, 14 Jun 1999 09:41:04 -0700 (PDT)
From: knu@and.or.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: shuJIT port: Build fails on FreeBSD 3.x
X-Send-Pr-Version: www-1.0

>Number:         12208
>Category:       ports
>Synopsis:       shuJIT port: Build fails on FreeBSD 3.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 09:50:00 PDT 1999
>Closed-Date:    Mon Jun 14 09:57:41 PDT 1999
>Last-Modified:  Mon Jun 14 09:58:27 PDT 1999
>Originator:     Akinori MUSHA aka knu
>Release:        FreeBSD 3.2-19990610-STABLE
>Organization:
and.or.jp
>Environment:
FreeBSD archon.my.domain 3.2-STABLE FreeBSD 3.2-STABLE #1: Thu Jun 10 18:36:20 JST 1999     root@archon.my.domain:/usr/src/sys/compile/ARCHON  i386
>Description:
On FreeBSD 3.x (${OSVERSION} < 400002), BUILD_DEPENDS is overridden incorrectly.
>How-To-Repeat:
Just try making it on a system on which ruby and/or gdbm haven't installed:

# cd /usr/ports/lang/shujit
# make

>Fix:
Apply this patch:

*** Makefile.orig       Thu Jun 10 23:56:44 1999
--- Makefile    Tue Jun 15 01:05:31 1999
***************
*** 19,25 ****
  
  .include <bsd.port.pre.mk>
  .if ${OSVERSION} < 400002
! BUILD_DEPENDS=        ${PREFIX}/bin/egcc:${PORTSDIR}/lang/egcs
  .endif
  
  WRKSRC=               ${WRKDIR}/shujit
--- 19,25 ----
  
  .include <bsd.port.pre.mk>
  .if ${OSVERSION} < 400002
! BUILD_DEPENDS+=       ${PREFIX}/bin/egcc:${PORTSDIR}/lang/egcs
  .endif
  
  WRKSRC=               ${WRKDIR}/shujit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Jun 14 09:57:41 PDT 1999 
State-Changed-Why:  
Committed, thanks!  Just for the record I screwed this up and not Jake. 
>Unformatted:
