X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/2126b083f98d6322d94cb7465c3c6669cb5878c9..f3fe5970b320bd6f8c9d01f11881fa6d6b5e7384:/src/OS/Makefile-FreeBSD diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index ebb116bf2..ca1073e11 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -1,17 +1,23 @@ # 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 -STRIP_COMMAND=/usr/bin/strip +#STRIP_COMMAND=/usr/bin/strip 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 -LIBS=-lcrypt -lm -lutil +LIBS=-lcrypt -lm -lutil -lexecinfo -# Dynamicly loaded modules need to be built with -fPIC +# Dynamically loaded modules need to be built with -fPIC CFLAGS_DYNAMIC=-shared -rdynamic -fPIC # FreeBSD always ships with Berkeley DB