Skip to contentSkip to conversation

linknx: forcilbly disable smtp support

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linknx: forcilbly disable smtp support

linknx has support for SMTP via libesmtp, however there's no clean way to specify where libesmtp-config lives.
So when libesmtp is built it finds it via the headers and is automatically enabled, but it fails to get the appropiate link line from libesmtp-config because it's not found.
Fix it by forcibly disabling it. If someone is interested in working with upstream about this an option like --with-libcurl should be implemented in configure.
Solves:
http://autobuild.buildroot.net/results/90ebb383d7a2d7bdf09ffac65e2504da7b6d19f5/

---
 package/linknx/linknx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/linknx/linknx.mk +1 -1
index 42700a7..54e0426 100644
@@ -9,7 +9,7 @@ LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LI
 LINKNX_LICENSE = GPLv2+
 LINKNX_INSTALL_STAGING = YES
 LINKNX_CONF_OPT = --without-lua --without-log4cpp --without-pth-test \
-		  --with-pth=$(STAGING_DIR)/usr
+		  --with-pth=$(STAGING_DIR)/usr --disable-smtp
 
 LINKNX_DEPENDENCIES = libpthsem
 
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 linknx: forcilbly disable smtp support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> linknx has support for SMTP via libesmtp, however there's no clean way Gustavo> to specify where libesmtp-config lives.
Gustavo> So when libesmtp is built it finds it via the headers and is Gustavo> automatically enabled, but it fails to get the appropiate link line from Gustavo> libesmtp-config because it's not found.
Gustavo> Fix it by forcibly disabling it. If someone is interested in working Gustavo> with upstream about this an option like --with-libcurl should be Gustavo> implemented in configure.
Gustavo> Solves:
Gustavo> http://autobuild.buildroot.net/results/90ebb383d7a2d7bdf09ffac65e2504da7b6d19f5/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard