aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2014-04-04 23:11:43 +0800
committerskreuzer <skreuzer@FreeBSD.org>2014-04-04 23:11:43 +0800
commitb6efd083ab5466410a3b1d0cc418fb2bf9a3a335 (patch)
treeb9d85c5fb5256e371fbf2c65efd71b5503597ef6 /security
parentcba8710ce9f3e5c85702a538dc6e73d6ac2c12ba (diff)
downloadfreebsd-ports-graphics-b6efd083ab5466410a3b1d0cc418fb2bf9a3a335.tar.gz
freebsd-ports-graphics-b6efd083ab5466410a3b1d0cc418fb2bf9a3a335.tar.zst
freebsd-ports-graphics-b6efd083ab5466410a3b1d0cc418fb2bf9a3a335.zip
Fix build on versions of FreeBSD that don't have gcc as the default
compiler, remove the flag schedule-insns2 passed to cc
Diffstat (limited to 'security')
-rw-r--r--security/p5-Crypt-Rabbit/Makefile2
-rw-r--r--security/p5-Crypt-Rabbit/files/patch-Makefile.PL10
2 files changed, 12 insertions, 0 deletions
diff --git a/security/p5-Crypt-Rabbit/Makefile b/security/p5-Crypt-Rabbit/Makefile
index b44911bd92f..94ab9f8abd8 100644
--- a/security/p5-Crypt-Rabbit/Makefile
+++ b/security/p5-Crypt-Rabbit/Makefile
@@ -10,6 +10,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Perl extension for Rabbit stream cipher
+LICENSE= GPLv2
+
USES= perl5
USE_PERL5= configure
diff --git a/security/p5-Crypt-Rabbit/files/patch-Makefile.PL b/security/p5-Crypt-Rabbit/files/patch-Makefile.PL
new file mode 100644
index 00000000000..1480cb337ae
--- /dev/null
+++ b/security/p5-Crypt-Rabbit/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig 2014-04-04 14:56:24.000000000 +0000
++++ Makefile.PL 2014-04-04 14:56:41.000000000 +0000
+@@ -1,6 +1,6 @@
+ use ExtUtils::MakeMaker;
+
+-my $opt = '-O3 -funroll-loops -fomit-frame-pointer -fschedule-insns2 -Os -fno-strength-reduce -Wall -pipe';
++my $opt = '-O3 -funroll-loops -fomit-frame-pointer -Os -fno-strength-reduce -Wall -pipe';
+
+ WriteMakefile(
+ 'NAME' => 'Crypt::Rabbit',