From: Eneas U de Queiroz Date: Sat, 4 Aug 2018 18:12:35 +0000 (-0300) Subject: emailrelay: avoind linking with -lpam X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6cf615d90d40406c57b7d1d98bc7fa55d26a41ad;p=openwrt-packages.git 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 --- 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