aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-08-30 11:44:30 +0800
committeredwin <edwin@FreeBSD.org>2005-08-30 11:44:30 +0800
commit26bce67131357b5a461dc5a230d14b3b513e2fbf (patch)
treea3eebe0603cc988d1da4b44b462847b77ba19050 /archivers
parent28512e234988d2d97d1380894c6419afeba9b607 (diff)
downloadfreebsd-ports-gnome-26bce67131357b5a461dc5a230d14b3b513e2fbf.tar.gz
freebsd-ports-gnome-26bce67131357b5a461dc5a230d14b3b513e2fbf.tar.zst
freebsd-ports-gnome-26bce67131357b5a461dc5a230d14b3b513e2fbf.zip
[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>
Diffstat (limited to 'archivers')
-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