]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tell OpenBSD users that they need to use a different make command.
authorPeter Powell <petpow@saberuk.com>
Fri, 19 May 2017 09:37:24 +0000 (10:37 +0100)
committerPeter Powell <petpow@saberuk.com>
Fri, 19 May 2017 09:45:49 +0000 (10:45 +0100)
configure

index b380b5700046cad908714e057d3370ae2cc080e4..8b9689b2908e0cf0f36a7d32ce40e1eb147810da 100755 (executable)
--- a/configure
+++ b/configure
@@ -733,6 +733,14 @@ to a newer 3.x or 4.x (or whatever is available currently) version.
 FOO2
 }
 
+if ($^O eq 'openbsd') {
+       print <<__OPENBSD_WARNING__;
+\e[1;32mWARNING!\e[0m OpenBSD 6.5 changed Make to no longer look for BSDmakefile when
+searching for the makefile. If the version of OpenBSD you are using is 6.5 or
+newer then you will need to run '\e[1;32mmake -f BSDmakefile\e[0m' or '\e[1;32mgmake\e[0m' instead.
+__OPENBSD_WARNING__
+}
+
 ################################################################################
 #                            HELPER FUNCTIONS                          #
 ################################################################################