LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / src / OS / Makefile-GNU
index 9ec916441f392063aa07bc290684a76f99ec7145..366ce4263f012281d443e9d436411dc9bf53be9d 100644 (file)
@@ -1,19 +1,21 @@
-# $Cambridge: exim/src/OS/Makefile-GNU,v 1.2 2005/01/04 10:25:58 ph10 Exp $
-
 # Exim: OS-specific make file for GNU and variants.
+#
+# Copyright (c) The Exim Maintainers 2020
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 HAVE_ICONV=yes
 
 BASENAME_COMMAND=look_for_it
 CHOWN_COMMAND=look_for_it
 CHGRP_COMMAND=look_for_it
+CHMOD_COMMAND=look_for_it
 
 CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 
 DBMLIB = -ldb
 USE_DB = yes
 
-LIBS = -lnsl -lcrypt
+LIBS = -lnsl -lcrypt -lm
 LIBRESOLV = -lresolv
 
 X11=/usr/X11R6
@@ -24,7 +26,7 @@ X11_LD_LIB=$(X11)/lib
 EXIWHAT_PS_ARG=ax
 EXIWHAT_EGREP_ARG='/exim( |$$)'
 EXIWHAT_MULTIKILL_CMD=killall
-EXIWHAT_MULTIKILL_ARG=exim4
+EXIWHAT_MULTIKILL_ARG=exim
 EXIWHAT_KILL_SIGNAL=-USR1
 
 # End