- Fix on amd64

PR:             ports/138940
Submitted by:   NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Approved by:    maintainer timeout (Gary@Hayers.org; 3.5 months)
This commit is contained in:
Philip M. Gollucci 2010-01-08 01:14:52 +00:00
parent def6c5986e
commit 2c35f85a6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247361
2 changed files with 12 additions and 1 deletions

View File

@ -18,7 +18,7 @@ COMMENT= Perl5 module interface to Sophos AntiVirus
MAN3= SAVI.3
PERL_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>

View File

@ -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__