Skip to content

Commit

Permalink
Fix build problem in NetBSD. NetBSD's make doesn't look for BSDmakefi…
Browse files Browse the repository at this point in the history
…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
Mike Small authored and moritz committed Feb 29, 2012
1 parent 4ff8545 commit 7e65c6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Configure.pl
Expand Up @@ -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";
}
}
}

Expand Down

0 comments on commit 7e65c6f

Please sign in to comment.