diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-08 01:14:52 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-08 01:14:52 +0000 |
commit | 2c35f85a6e1d8f39a1331a0ec90e761407f9888d (patch) | |
tree | 193488978cf9ebe8b7ed7c02e650ae92ff4a3b5e /security/p5-SAVI-Perl | |
parent | - Fix ruby build with oniguruma. (diff) |
- Fix on amd64
PR: ports/138940
Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Approved by: maintainer timeout (Gary@Hayers.org; 3.5 months)
Notes
Notes:
svn path=/head/; revision=247361
Diffstat (limited to 'security/p5-SAVI-Perl')
-rw-r--r-- | security/p5-SAVI-Perl/Makefile | 2 | ||||
-rw-r--r-- | security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/security/p5-SAVI-Perl/Makefile b/security/p5-SAVI-Perl/Makefile index e5db681cff32..fbf15e47b970 100644 --- a/security/p5-SAVI-Perl/Makefile +++ b/security/p5-SAVI-Perl/Makefile @@ -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> diff --git a/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h b/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h new file mode 100644 index 000000000000..425aea1d2b9d --- /dev/null +++ b/security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h @@ -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__ |