Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on FreeBSD #27

Open
marcin-gryszkalis opened this issue Aug 27, 2021 · 0 comments
Open

Building on FreeBSD #27

marcin-gryszkalis opened this issue Aug 27, 2021 · 0 comments

Comments

@marcin-gryszkalis
Copy link

FYI - To build undrop on FreeBSD you have to use gmake (GNU make) and following changes are required:

diff --git a/include/my_config.h b/include/my_config.h
index 6c56449..c1c9a56 100644
--- a/include/my_config.h
+++ b/include/my_config.h
@@ -42,7 +42,7 @@
 
 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
    */
-#define HAVE_ALLOCA_H 1
+#undef HAVE_ALLOCA_H
 
 /* Builds Archive Storage Engine */
 /* #undef HAVE_ARCHIVE_DB */
@@ -893,10 +893,10 @@
 /* #undef HAVE_UCHAR */
 
 /* system headers define uint */
-#define HAVE_UINT 1
+#undef HAVE_UINT
 
 /* system headers define ulong */
-#define HAVE_ULONG 1
+#undef HAVE_ULONG
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
@@ -1083,7 +1083,7 @@
 #define SYSTEM_TYPE "unknown-linux-gnu"
 
 /* Whether we build for Linux */
-#define TARGET_OS_LINUX 1
+#undef TARGET_OS_LINUX
 
 /* Define if you want to have threaded code. This may be undef on client code
    */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant