Skip to content
Browse files

Fix build problem in NetBSD. NetBSD's make doesn't look for BSDmakefi…

…le. Dyncall manual says to build with -f BSDmakefile. OpenBSD and FreeBSD should be fine as is, since their makes do look for BSDmakefile.

Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information...
1 parent 4ff8545 commit 7e65c6f2dbb5d4798d850f8d1fe17b0f4fa29f70 @thirdm thirdm committed with moritz
Showing with 5 additions and 1 deletion.
  1. +5 −1 Configure.pl
View
6 Configure.pl
@@ -126,7 +126,11 @@
$config{'dyncall_build'} = "cd 3rdparty/dyncall && $make BUILD_DIR=. -f GNUmakefile";
} else {
system_or_die('cd 3rdparty/dyncall && sh configure');
- $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make";
+ if ($^O eq 'netbsd') {
+ $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make -f BSDmakefile";
+ } else {
+ $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make";
+ }
}
}

0 comments on commit 7e65c6f

Please sign in to comment.
Something went wrong with that request. Please try again.