svn commit: r547452 - head/www/hypermail

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 3 13:44:56 UTC 2020


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


More information about the svn-ports-head mailing list