From 6cf615d90d40406c57b7d1d98bc7fa55d26a41ad Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Sat, 4 Aug 2018 15:12:35 -0300 Subject: [PATCH] emailrelay: avoind linking with -lpam The package seems to link to -lpam even when using --without-pam. Set ac_cv_search_pam_end=no to avoid it. Signed-off-by: Eneas U de Queiroz --- mail/emailrelay/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mail/emailrelay/Makefile b/mail/emailrelay/Makefile index b85917173..6b61380fd 100644 --- a/mail/emailrelay/Makefile +++ b/mail/emailrelay/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=emailrelay PKG_VERSION:=2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz PKG_SOURCE_URL:=@SF/emailrelay/$(PKG_VERSION) @@ -84,6 +84,11 @@ CONFIGURE_ARGS += \ --disable-testing \ --disable-windows +# Workaround for https://sourceforge.net/p/emailrelay/bugs/38/ +# This should be fixed in the next release. +CONFIGURE_VARS += \ + ac_cv_search_pam_end=no + ifeq ($(CONFIG_EMAILRELAY_SSL),y) CONFIGURE_ARGS += \ --with-openssl