aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-08 01:14:52 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-08 01:14:52 +0000
commit2c35f85a6e1d8f39a1331a0ec90e761407f9888d (patch)
tree193488978cf9ebe8b7ed7c02e650ae92ff4a3b5e /security
parentdef6c5986e8583b68f47a42aa40d96684ef6e1e1 (diff)
downloadports-2c35f85a6e1d8f39a1331a0ec90e761407f9888d.tar.gz
ports-2c35f85a6e1d8f39a1331a0ec90e761407f9888d.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/p5-SAVI-Perl/Makefile2
-rw-r--r--security/p5-SAVI-Perl/files/patch-sav_if:s_comput.h11
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__