Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2015 18:41:57 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378316 - head/devel/libhtp
Message-ID:  <201502021841.t12IfvP1021156@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Feb  2 18:41:56 2015
New Revision: 378316
URL: https://svnweb.freebsd.org/changeset/ports/378316
QAT: https://qat.redports.org/buildarchive/r378316/

Log:
  devel/libhtp: tweak recent iconv:translit change to fix on some compilers
  
  When USES=iconv is changed to USES=iconv:translit, it can add libiconv
  dependency from ports along with the addition of -liconv to LDFLAGS.
  Most compilers (with FreeBSD's base compilers being notable exceptions)
  will not look in /usr/local/lib by default, so this adds a -L argument
  to LDFLAGS to help the linker find libiconv.so and unbreak the port on
  affected platforms.

Modified:
  head/devel/libhtp/Makefile

Modified: head/devel/libhtp/Makefile
==============================================================================
--- head/devel/libhtp/Makefile	Mon Feb  2 18:39:38 2015	(r378315)
+++ head/devel/libhtp/Makefile	Mon Feb  2 18:41:56 2015	(r378316)
@@ -20,6 +20,7 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
 MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 PATHFIX_MAKEFILEIN=	Makefile.am
 



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