Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 13:44:55 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547452 - head/www/hypermail
Message-ID:  <202009031344.083Ditrc029670@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Sep  3 13:44:55 2020
New Revision: 547452
URL: https://svnweb.freebsd.org/changeset/ports/547452

Log:
  Somehow the configure script does not respect LDFLAGS or LIBS therefore
  enforce -L in the cflags to allow the linker to find the libraries in localbase
  to be able to link with them.
  
  This fixes libtrio detection
  
  Reported by:	leres@

Modified:
  head/www/hypermail/Makefile

Modified: head/www/hypermail/Makefile
==============================================================================
--- head/www/hypermail/Makefile	Thu Sep  3 13:44:26 2020	(r547451)
+++ head/www/hypermail/Makefile	Thu Sep  3 13:44:55 2020	(r547452)
@@ -25,6 +25,8 @@ CONFIGURE_ARGS=	--with-htmldir=${STAGEDIR}${PREFIX}/sh
 		--with-external-pcre=${LOCALBASE}/bin/pcre-config \
 		--enable-system-libtrio
 
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
+
 MAKE_ARGS=	INSTALL_PROG=${INSTALL}
 
 OPTIONS_DEFINE=	DOCS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009031344.083Ditrc029670>