ports/85432: [fix] archivers/rar: add compat5x dependency and amd64 support

Simun Mikecin numisemis at yahoo.com
Mon Aug 29 11:40:17 UTC 2005


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list