SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/p5-MaxMind-DB-Reader-XS/patches/patch-Build_PL
Normal file
15
net/p5-MaxMind-DB-Reader-XS/patches/patch-Build_PL
Normal file
|
@ -0,0 +1,15 @@
|
|||
Do not pass the -fms-extensions flag, it is unsupported on OpenBSD and
|
||||
breaks the build.
|
||||
|
||||
Index: Build.PL
|
||||
--- Build.PL.orig
|
||||
+++ Build.PL
|
||||
@@ -14,7 +14,7 @@ my $mb = Module::Build->new(
|
||||
|
||||
$mb->extra_compiler_flags(
|
||||
@{ $mb->extra_compiler_flags },
|
||||
- qw(-std=c99 -fms-extensions -Wall -g)
|
||||
+ qw(-std=c99 -Wall -g)
|
||||
);
|
||||
$mb->extra_linker_flags( @{ $mb->extra_linker_flags }, '-lmaxminddb' );
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue