git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: text items for URLs
[exim.git]
/
src
/
OS
/
Makefile-FreeBSD
diff --git
a/src/OS/Makefile-FreeBSD
b/src/OS/Makefile-FreeBSD
index ebb116bf2af5b8d6c1960d1bdcc328700bb5380e..5f01b84e695c121ef7c2337b7ebb7e3de156b5f0 100644
(file)
--- a/
src/OS/Makefile-FreeBSD
+++ b/
src/OS/Makefile-FreeBSD
@@
-1,19
+1,28
@@
# Exim: OS-specific make file for FreeBSD
# Exim: OS-specific make file for FreeBSD
-# There's no setting of CFLAGS here, to allow the system default
-# for "make" to be the default.
+#
+# Copyright (c) The Exim Maintainers 2020 - 2023
+# SPDX-License-Identifier: GPL-2.0-or-later
CHOWN_COMMAND=/usr/sbin/chown
CHOWN_COMMAND=/usr/sbin/chown
-STRIP_COMMAND=/usr/bin/strip
+
#
STRIP_COMMAND=/usr/bin/strip
CHMOD_COMMAND=/bin/chmod
CHMOD_COMMAND=/bin/chmod
+
+# FreeBSD Ports no longer insert compatibility symlinks into /usr/bin for
+# scripting languages which traditionally have had them.
+PERL_COMMAND=/usr/local/bin/perl
+
HAVE_SA_LEN=YES
# crypt() is in a separate library
HAVE_SA_LEN=YES
# crypt() is in a separate library
-LIBS=-lcrypt -lm -lutil
+LIBS=-lcrypt -lm -lutil
-lexecinfo
-# Dynamicly loaded modules need to be built with -fPIC
+# Dynamic
al
ly loaded modules need to be built with -fPIC
CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
+# Partial-linking needs -nostdlib
+LDFLAGS_PARTIAL=-nostdlib
+
# FreeBSD always ships with Berkeley DB
USE_DB=yes
# FreeBSD always ships with Berkeley DB
USE_DB=yes