From owner-svn-ports-all@FreeBSD.ORG Sat May 16 19:10:44 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 124874D4; Sat, 16 May 2015 19:10:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 007BB1823; Sat, 16 May 2015 19:10:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4GJAhsV044666; Sat, 16 May 2015 19:10:43 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4GJAhSt044665; Sat, 16 May 2015 19:10:43 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201505161910.t4GJAhSt044665@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 16 May 2015 19:10:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386570 - head/mail/milter-bogom X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2015 19:10:44 -0000 Author: marino Date: Sat May 16 19:10:43 2015 New Revision: 386570 URL: https://svnweb.freebsd.org/changeset/ports/386570 Log: mail/milter-bogom: Fix build on systems without base sendmail There was an attempt to support ports sendmail made, but the attempt didn't work. Well, it accidently worked because the compilers looked for headers and libraries at LOCALBASE/include and LOCALBASE/lib so the bad LDFLAGS value was ignored. Fix ports-sendmail LDFLAGS and explicitly set -I so milter-bogom builds on all compilers. Approved by: just fix it Modified: head/mail/milter-bogom/Makefile Modified: head/mail/milter-bogom/Makefile ============================================================================== --- head/mail/milter-bogom/Makefile Sat May 16 18:45:43 2015 (r386569) +++ head/mail/milter-bogom/Makefile Sat May 16 19:10:43 2015 (r386570) @@ -16,7 +16,8 @@ RUN_DEPENDS= bogofilter:${PORTSDIR}/mail .if !exists(/usr/lib/libmilter.so) LIB_DEPENDS= libmilter.so:${PORTSDIR}/mail/sendmail -LDFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include .endif MAKE_ARGS= CPPFLAGS="-DDEF_CONF=\\\"${PREFIX}/etc/bogom.conf\\\"" \