mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Instead of hardcoding the flags passed to OPTIMIZE, replace it
with the value of CFLAGS
This commit is contained in:
parent
2fde2038d8
commit
b15ebea930
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350979
@ -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…
Reference in New Issue
Block a user