From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 29 11:40:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBFE016A41F for ; Mon, 29 Aug 2005 11:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D52043D49 for ; Mon, 29 Aug 2005 11:40:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7TBeGD1031140 for ; Mon, 29 Aug 2005 11:40:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7TBeG63031139; Mon, 29 Aug 2005 11:40:16 GMT (envelope-from gnats) Resent-Date: Mon, 29 Aug 2005 11:40:16 GMT Resent-Message-Id: <200508291140.j7TBeG63031139@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simun Mikecin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A958616A41F for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85432: [fix] archivers/rar: add compat5x dependency and amd64 support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Simun Mikecin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 11:40:17 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 29 11:40:16 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted: