In message <20141026093845.ga2...@unixarea.ddr.dd>, Matthias Apitz writes:
> El día Monday, October 20, 2014 a las 12:40:22AM -0700, Cy Schubert 
> escribió:
> 
> > Unfortunately I'm not able to reproduce this locally, nor in my poudriere 
> > jail, nor on redports (such as it is). Another person discovered the issue 
> > if READLINE support is specified -- which too I am unable to reproduce 
> > locally.
> > 
> > Can you try exporting LDFLAGS=--tag=CC prior to building the port? I'm 
> > curious to see if that makes a difference to you.
> 
> I tried this, but with this the port fails during ./configure
> 
> > Also, what options are you using?
> > 
> > ...
> 
> Attached below you will see a small change in the Makefile (the
> CPPFLAGS have been specified wrong) and the complete log of building
> the port in poudriere, containing also the OPTIONS of your port.

It will fail to link without it. This was true at one time and may very 
well still be true.

> 
> my change re/ CPPFLAGS removes some warning of the art 'clang
> unused value -L....', but does not resolve the libtool error/problem;
> 
> let me know if you want me to test tweakings.

It builds successfully on everything but 11-CURRENT as CURRENT now includes 
readline support which appears incompatible with GNU readline. Try this 
patch. The proper fix is to get it working with libtool in 11-CURRENT. 
Unfortunately libtool has some gas with non-libtool built libraries. The 
patch is a bit of a hack but it should address the 11-CURRENT issue. Can 
you test it for me please?



Index: Makefile
===================================================================
--- Makefile    (revision 371299)
+++ Makefile    (working copy)
@@ -67,7 +67,13 @@
 .endif
 
 .if ${PORT_OPTIONS:MREADLINE}
+.if ${OSVERSION} >= 1100000
+# libtool has some gas with libreadline in 11-CURRENT.
+BUILD_DEPENDS+=                
${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
+LIB_DEPENDS+=          
${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
+.else
 USES+=                 readline:port
+.endif
 CONFIGURE_ARGS+=       --with-readline
 .endif
 
Cheers,
Cy Schubert <cy.schub...@komquats.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  http://www.FreeBSD.org

        The need of the many outweighs the greed of the few.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to