aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-08-26 13:30:07 +0800
committermat <mat@FreeBSD.org>2003-08-26 13:30:07 +0800
commitf5beb8e3683251d0eff9d3b90a76c2b5df757990 (patch)
tree41ca0f8d9219086c887fb825813667a8ac83ce58 /math/p5-Math-Pari
parent52516be00ebfbb256bdab4ae2c59453d0626f663 (diff)
downloadfreebsd-ports-gnome-f5beb8e3683251d0eff9d3b90a76c2b5df757990.tar.gz
freebsd-ports-gnome-f5beb8e3683251d0eff9d3b90a76c2b5df757990.tar.zst
freebsd-ports-gnome-f5beb8e3683251d0eff9d3b90a76c2b5df757990.zip
Unbreak in the case you did not have -O in your CFLAGS
PR: 55870 Submitted by: Kevin Oberman <oberman@es.net> Approved by: demon (mentor)
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/files/patch-makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/p5-Math-Pari/files/patch-makefile b/math/p5-Math-Pari/files/patch-makefile
index 9a33e8398aa6..d850c3f29b8e 100644
--- a/math/p5-Math-Pari/files/patch-makefile
+++ b/math/p5-Math-Pari/files/patch-makefile
@@ -3,7 +3,8 @@
@@ -137,11 +137,13 @@
$mycflags .= " -DASMINLINE";
}
- $mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
+-$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
++$mycflags .= ' -O -DGCC_INLINE' if $Config{gccversion};
+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
@obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);