Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2009 00:45:46 +0900 (JST)
From:      NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138940: security/p5-SAVI-Perl can work on amd64
Message-ID:  <200909181545.n8IFjjuB047780@ra333.heimat.gr.jp>
Resent-Message-ID: <200909181550.n8IFo4u4006411@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138940
>Category:       ports
>Synopsis:       security/p5-SAVI-Perl can work on amd64
>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:   Fri Sep 18 15:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 8.0-CURRENT pc98
>Organization:
>Environment:
System: FreeBSD ra333.heimat.gr.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #121: Sat Nov 8 16:31:36 JST 2008 root@ra333.heimat.gr.jp:/usr/obj/usr/src/sys/RA333 pc98


>Description:
	Sophos releases Sophos Anti-Virus Interface for FreeBSD/amd64,
	too.

>How-To-Repeat:

>Fix:

This is tested on another FreeBSD/amd64 7.2-STABLE.

===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/security/p5-SAVI-Perl/Makefile /home/nakaji/work/ports/security/p5-SAVI-Perl/Makefile
--- /usr/ports/security/p5-SAVI-Perl/Makefile	2007-09-15 02:31:40.000000000 +0900
+++ /home/nakaji/work/ports/security/p5-SAVI-Perl/Makefile	2009-09-19 00:00:39.000000000 +0900
@@ -18,7 +18,7 @@
 MAN3=		SAVI.3
 
 PERL_CONFIGURE=	yes
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 .include <bsd.port.pre.mk>
 
diff -ruN --exclude=CVS /usr/ports/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h /home/nakaji/work/ports/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h
--- /usr/ports/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h	1970-01-01 09:00:00.000000000 +0900
+++ /home/nakaji/work/ports/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h	2009-09-19 00:01:12.000000000 +0900
@@ -0,0 +1,11 @@
+--- sav_if/s_comput.h.orig	2009-09-18 21:22:27.000000000 +0900
++++ sav_if/s_comput.h	2009-09-18 21:22:52.000000000 +0900
+@@ -642,7 +642,7 @@
+  * Hardware platform.
+  */
+ 
+-# if defined(__i386__)
++# if defined(__i386__) || defined(__amd64__)
+ #  define __SOPHOS_I386__
+ # elif (defined(__hppa__) && defined(_PA_RISC1_1))
+ #  define __SOPHOS_HP_PA__
===> Done

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909181545.n8IFjjuB047780>