[Patch] Drop -lnsl from GNU/Hurd default LIBS.

Andreas Metzler via Exim-dev <[email protected]> Fri, 31 Jul 2026 18:55:19 +0200
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]>
--soadBv54HWakErZd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

even on GNU/Hurd -lnsl is only needed for NIS support.

cu Andreas
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.

--soadBv54HWakErZd
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=91_no-hardcode-libnsl-GNUhurd.diff

>From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andreas Metzler <[email protected]>
Date: Apr, 27 2026 08:23:24 +0200
Subject: Drop -lnsl from GNU/Hurd default LIBS.

It should only be necessary for NIS on GNU/Hurd, too.

--- exim4-4.99.1.orig/OS/Makefile-GNU
+++ exim4-4.99.1/OS/Makefile-GNU
@@ -15,7 +15,7 @@ CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_L
 DBMLIB = -ldb
 USE_DB = yes
 
-LIBS = -lnsl -lcrypt -lm
+LIBS = -lcrypt -lm
 LIBRESOLV = -lresolv
 
 X11=/usr/X11R6

--soadBv54HWakErZd
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline