From 26bce67131357b5a461dc5a230d14b3b513e2fbf Mon Sep 17 00:00:00 2001 From: edwin Date: Tue, 30 Aug 2005 03:44:30 +0000 Subject: [fix] archivers/rar: add compat5x dependency and amd64 support 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. PR: ports/85432 Submitted by: Simun Mikecin --- archivers/rar/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archivers') diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 8fd334372b82..78571acfb5d9 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -20,7 +20,7 @@ DISTNAME= rarbsd-3.5.0 MAINTAINER= ports@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 @@ -31,6 +31,10 @@ WRKSRC= ${WRKDIR}/rar 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" STRIP= .endif -- cgit