Fix build on versions of FreeBSD that don't have gcc as the default
compiler, remove the flag schedule-insns2 passed to cc
This commit is contained in:
parent
e90284b661
commit
06ad3b4467
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350132
2 changed files with 12 additions and 0 deletions
|
@ -10,6 +10,8 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= skreuzer@FreeBSD.org
|
||||
COMMENT= Perl extension for Rabbit stream cipher
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
|
|
10
security/p5-Crypt-Rabbit/files/patch-Makefile.PL
Normal file
10
security/p5-Crypt-Rabbit/files/patch-Makefile.PL
Normal file
|
@ -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',
|
Loading…
Reference in a new issue