forked from Lainports/freebsd-ports
Instead of hardcoding the flags passed to OPTIMIZE, replace it
with the value of CFLAGS
This commit is contained in:
parent
2fde2038d8
commit
b15ebea930
2 changed files with 3 additions and 10 deletions
|
|
@ -15,4 +15,7 @@ LICENSE= GPLv2
|
|||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -i '' -e '/OPTIMIZE/s/=>.*/=> "${CFLAGS}",/g' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
--- 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…
Add table
Reference in a new issue