summaryrefslogtreecommitdiff
path: root/archivers/rar
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-08-30 03:44:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-08-30 03:44:30 +0000
commita7e297beb85d4d69ed10f3a33a7813c3e70046d5 (patch)
treeb67e6538a26da15e06686c95752718373f292259 /archivers/rar
parentupgrade to 1.5.2 (diff)
[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 <numisemis@yahoo.com>
Notes
Notes: svn path=/head/; revision=141403
Diffstat (limited to 'archivers/rar')
-rw-r--r--archivers/rar/Makefile6
1 files changed, 5 insertions, 1 deletions
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