Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 10:22:54 +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: r363125 - head/Mk/Uses
Message-ID:  <201407281022.s6SAMsxS068070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jul 28 10:22:54 2014
New Revision: 363125
URL: http://svnweb.freebsd.org/changeset/ports/363125
QAT: https://qat.redports.org/buildarchive/r363125/

Log:
  Prevent overlinking of libreadline
  
  Everything trying to link to readline is already passing -lreadline when needed
  so all that is needed here is to pass the right path where to find it.
  
  Reported by:	peter

Modified:
  head/Mk/Uses/readline.mk

Modified: head/Mk/Uses/readline.mk
==============================================================================
--- head/Mk/Uses/readline.mk	Mon Jul 28 09:19:20 2014	(r363124)
+++ head/Mk/Uses/readline.mk	Mon Jul 28 10:22:54 2014	(r363125)
@@ -18,7 +18,7 @@ readline_ARGS=	port
 .if defined(readline_ARGS) && ${readline_ARGS} == port
 LIB_DEPENDS+=		libreadline.so.6:${PORTSDIR}/devel/readline
 CPPFLAGS+=		-I${LOCALBASE}/include
-LDFLAGS+=		-L${LOCALBASE}/lib -lreadline
+LDFLAGS+=		-L${LOCALBASE}/lib
 .endif
 
 .endif



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