From linimon@lonesome.com  Wed Jun 18 16:53:58 2003
Return-Path: <linimon@lonesome.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E08FE37B404
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 18 Jun 2003 16:53:58 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0728343F93
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 18 Jun 2003 16:53:58 -0700 (PDT)
	(envelope-from linimon@lonesome.com)
Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.soaustin.net (Postfix) with ESMTP id DE205140CB
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 18 Jun 2003 18:53:56 -0500 (CDT)
Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1])
	by lonesome.lonesome.com (8.12.9/8.12.3) with ESMTP id h5INw7Na053397
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 18 Jun 2003 18:58:07 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.6/Submit) id h5INw6fJ053396;
	Wed, 18 Jun 2003 18:58:06 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200306182358.h5INw6fJ053396@lonesome.lonesome.com>
Date: Wed, 18 Jun 2003 18:58:06 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To:
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: [patch][non-maintainer] fix non-i386 builds for korean/mkisofs
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         53471
>Category:       ports
>Synopsis:       [patch] [non-maintainer] fix non-i386 builds for korean/mkisofs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cjh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 17:00:28 PDT 2003
>Closed-Date:    Tue Sep 09 02:42:57 PDT 2003
>Last-Modified:  Wed Jan 14 20:30:32 UTC 2009
>Originator:     Mark Linimon
>Release:        FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	The logic in the Makefile assumes that the port is being
	made either on an i386 or an alpha.  This patch (only
	tested on i386 due to my lack of access to other machines)
	attempts to fix this.

	Also note, this is an older version of mkisofs (v1 as
	opposed to v2 in sysutils/mkisofs).
>How-To-Repeat:
	make install (sparc, ia64)
>Fix:

--- mkisofs/Makefile.dist	Mon Mar 10 16:59:00 2003
+++ mkisofs/Makefile	Wed Jun 18 18:38:27 2003
@@ -23,10 +23,10 @@
 USE_GMAKE=	yes
 MAKE_ENV=	COPTX="-DBSD_SCSI_SENSE_BUG"
 
-.if ${MACHINE_ARCH} == "alpha"
+.if ${MACHINE_ARCH} != "i386"
 post-extract:
 	${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
-		${WRKSRC}/RULES/alpha-freebsd-cc.rul
+		${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-cc.rul
 .endif
 
 post-build:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->cjh 
Responsible-Changed-By: naddy 
Responsible-Changed-When: Sun Jun 29 18:33:16 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53471 
State-Changed-From-To: open->closed 
State-Changed-By: cjh 
State-Changed-When: Tue Sep 9 02:42:28 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53471 
>Unformatted:
