From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SvsLH-00026g-Ft for ptxdist@pengutronix.de; Mon, 30 Jul 2012 17:57:13 +0200 From: Alexander Dahl Date: Mon, 30 Jul 2012 17:54:53 +0200 Message-Id: <1343663693-12819-3-git-send-email-post@lespocky.de> In-Reply-To: <1343663693-12819-1-git-send-email-post@lespocky.de> References: <1343663693-12819-1-git-send-email-post@lespocky.de> Subject: [ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Alexander Dahl --- rules/ssmtp.make | 27 ++++++++------------------- 1 files changed, 8 insertions(+), 19 deletions(-) diff --git a/rules/ssmtp.make b/rules/ssmtp.make index 50753d0..80c6bb8 100644 --- a/rules/ssmtp.make +++ b/rules/ssmtp.make @@ -37,23 +37,12 @@ SSMTP_CONF_ENV := $(CROSS_ENV) # # autoconf # -SSMTP_AUTOCONF := $(CROSS_AUTOCONF_ROOT) - -ifndef PTXCONF_SSMTP_REWRITE_DOMAIN -SSMTP_AUTOCONF += --disable-rewrite-domain -endif - -ifdef PTXCONF_SSMTP_SSL -SSMTP_AUTOCONF += --enable-ssl -endif - -ifdef PTXCONF_SSMTP_INET6 -SSMTP_AUTOCONF += --enable-inet6 -endif - -ifdef PTXCONF_SSMTP_MD5AUTH -SSMTP_AUTOCONF += --enable-md5auth -endif +SSMTP_CONF_TOOL := autoconf +SSMTP_CONF_OPT := $(CROSS_AUTOCONF_USR) \ + --$(call ptx/endis, PTXCONF_SSMTP_REWRITE_DOMAIN)-rewrite-domain \ + --$(call ptx/endis, PTXCONF_SSMTP_SSL)-ssl \ + --$(call ptx/endis, PTXCONF_SSMTP_INET6)-inet6 \ + --$(call ptx/endis, PTXCONF_SSMTP_MD5AUTH)-md5auth SSMTP_MAKE_ENV := $(CROSS_ENV) SSMTP_MAKE_PAR := NO @@ -71,10 +60,10 @@ $(STATEDIR)/ssmtp.targetinstall: @$(call install_fixup, ssmtp,AUTHOR,"Robert Schwebel ") @$(call install_fixup, ssmtp,DESCRIPTION,missing) - @$(call install_copy, ssmtp, 0, 0, 0755, -, /sbin/ssmtp) + @$(call install_copy, ssmtp, 0, 0, 0755, -, /usr/sbin/ssmtp) ifdef PTXCONF_SSMTP_SENDMAIL - @$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) + @$(call install_link, ssmtp, /usr/sbin/ssmtp, /usr/sbin/sendmail) @$(call install_link, ssmtp, /usr/sbin/sendmail, /usr/lib/sendmail) endif -- 1.7.2.5 -- ptxdist mailing list ptxdist@pengutronix.de