From sime@logos.hr  Mon Aug 29 11:31:39 2005
Return-Path: <sime@logos.hr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A958616A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Aug 2005 11:31:39 +0000 (GMT)
	(envelope-from sime@logos.hr)
Received: from mail.logos.hr (gates.logos.hr [213.149.47.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9415443D6B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Aug 2005 11:31:36 +0000 (GMT)
	(envelope-from sime@logos.hr)
Received: from localhost (localhost.logos.hr [127.0.0.1])
	by mail.logos.hr (Postfix) with ESMTP id 751AF26D061
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Aug 2005 13:31:35 +0200 (CEST)
Received: from mail.logos.hr ([127.0.0.1])
 by localhost (mail.logos.hr [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 46970-03 for <FreeBSD-gnats-submit@freebsd.org>;
 Mon, 29 Aug 2005 13:31:20 +0200 (CEST)
Received: by mail.logos.hr (Postfix, from userid 34062)
	id 4435826D045; Mon, 29 Aug 2005 13:31:20 +0200 (CEST)
Message-Id: <20050829113120.4435826D045@mail.logos.hr>
Date: Mon, 29 Aug 2005 13:31:20 +0200 (CEST)
From: Simun Mikecin <numisemis@yahoo.com>
Reply-To: Simun Mikecin <numisemis@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [fix] archivers/rar: add compat5x dependency and amd64 support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         85432
>Category:       ports
>Synopsis:       [fix] archivers/rar: add compat5x dependency and amd64 support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 29 11:40:16 GMT 2005
>Closed-Date:    Tue Aug 30 03:44:34 GMT 2005
>Last-Modified:  Tue Aug 30 03:44:34 GMT 2005
>Originator:     Simun Mikecin
>Release:        FreeBSD 6.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD data.home.hr 6.0-BETA3 FreeBSD 6.0-BETA3 #6: Sat Aug 27 13:30:49 CEST 2005 root@data.home.hr:/var/obj/usr/src.6/sys/DATA i386


	
>Description:
rar is FreeBSD/i386 5.x binary. On FreeBSD 6.x it requires misc/compat5x.
It works on amd64 architecture using lib32 libraries and COMPAT_IA32 support in kernel.
	
>How-To-Repeat:
	
>Fix:
diff -urN rar.old/Makefile rar/Makefile
--- rar.old/Makefile	Wed Dec 22 09:06:05 2004
+++ rar/Makefile	Sun Aug 28 11:45:31 2005
@@ -15,7 +15,7 @@
 MAINTAINER=	ache@FreeBSD.org
 COMMENT=	File archiver (binary port)
 
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 NO_PACKAGE=	Only unmodified original package can be distributed
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/rar
@@ -24,6 +24,10 @@
 
 .if ${OSVERSION} < 503000
 IGNORE=is unsupported on versions prior to FreeBSD 5.3
+.endif
+
+.if ${OSVERSION} >= 600000
+LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
 .endif
 
 .if ${PORTOBJFORMAT} == "elf"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ache   
Responsible-Changed-By: ahze 
Responsible-Changed-When: Tue Aug 30 01:02:39 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85432 
Responsible-Changed-From-To: ache->freebsd-ports-bugs 
Responsible-Changed-By: ache 
Responsible-Changed-When: Tue Aug 30 03:15:24 GMT 2005 
Responsible-Changed-Why:  
I am not maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85432 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Tue Aug 30 03:44:30 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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