From 3a4556c705aded55aa6166ce7f0f35c71e60ad84 Mon Sep 17 00:00:00 2001 From: gabor Date: Fri, 5 Feb 2010 19:00:43 +0000 Subject: - Update to 3.91 [1] - Allow installation on 64-bit systems even if 32-bit libraries are not present (binary is statically linked) but we have kernel support for 32-bit compatibility PR: ports/143176 [1] Submitted by: Sunpoet Po-Chuan Hsieh [1] --- archivers/rar/Makefile | 18 ++++++++++++++---- archivers/rar/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'archivers') diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index fade2d8a902a..10b88ac4ad9e 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -6,16 +6,15 @@ # PORTNAME= rar -PORTVERSION= 3.90 +PORTVERSION= 3.91 PORTEPOCH= 2 CATEGORIES= archivers MASTER_SITES= http://www.rarlab.com/rar/ -DISTNAME= rarbsd-3.9.0 +DISTNAME= rarbsd-3.9.1 MAINTAINER= gabor@FreeBSD.org COMMENT= File archiver (binary port) -IA32_BINARY_PORT= YES RESTRICTED= only unmodified original package can be distributed NO_BUILD= yes WRKSRC= ${WRKDIR}/rar @@ -23,6 +22,17 @@ PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1 PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \ readme.txt +.include + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +.if !defined(HAVE_COMPAT_IA32_KERN) +HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then ${ECHO_CMD} YES; fi +.endif +.if !defined(HAVE_COMPAT_IA32_KERN) +IGNORE= requires a kernel with compiled-in IA32 compatibility +.endif +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${PREFIX}/bin/rar ${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1 @@ -37,4 +47,4 @@ post-install: .endfor .endif -.include +.include diff --git a/archivers/rar/distinfo b/archivers/rar/distinfo index 0a40e27afae0..728629cf92d7 100644 --- a/archivers/rar/distinfo +++ b/archivers/rar/distinfo @@ -1,3 +1,3 @@ -MD5 (rarbsd-3.9.0.tar.gz) = a5610e10294abf5383a1757ae8218356 -SHA256 (rarbsd-3.9.0.tar.gz) = c5feba2955c05510acb1e557e759c33d6ebc695e840432c334edf7dee5c168eb -SIZE (rarbsd-3.9.0.tar.gz) = 819333 +MD5 (rarbsd-3.9.1.tar.gz) = f703b455833130cd9f39a66663f7bd88 +SHA256 (rarbsd-3.9.1.tar.gz) = 2dc4aec877daba7e22a61e1e9f9e68cbfdab9f1ada0731201903ac8614c883da +SIZE (rarbsd-3.9.1.tar.gz) = 819426 -- cgit