emailrelay: avoind linking with -lpam 6668/head
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Sat, 4 Aug 2018 18:12:35 +0000 (15:12 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Sat, 4 Aug 2018 18:12:35 +0000 (15:12 -0300)
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 <cote2004-github@yahoo.com>
mail/emailrelay/Makefile

index b8591717322305cec614de7a190daa9993e59026..6b61380fdb218f1a5b273944dc45bcad45c6688e 100644 (file)
@@ -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