Date: Mon, 29 Aug 2005 13:31:20 +0200 (CEST) From: Simun Mikecin <numisemis@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85432: [fix] archivers/rar: add compat5x dependency and amd64 support Message-ID: <20050829113120.4435826D045@mail.logos.hr> Resent-Message-ID: <200508291140.j7TBeG63031139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050829113120.4435826D045>