From 7e65c6f2dbb5d4798d850f8d1fe17b0f4fa29f70 Mon Sep 17 00:00:00 2001 From: Mike Small Date: Tue, 28 Feb 2012 23:10:52 -0500 Subject: [PATCH] Fix build problem in NetBSD. NetBSD's make doesn't look for BSDmakefile. 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 --- Configure.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Configure.pl b/Configure.pl index 4eaf9377b0..0fcf2d8b77 100644 --- a/Configure.pl +++ b/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"; + } } }