svn commit: r329288 - head/www/elinks

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 5 20:16:10 UTC 2013


On 10/4/2013 6:28 AM, Renato Botelho wrote:
> Author: garga
> Date: Fri Oct  4 11:28:29 2013
> New Revision: 329288
> URL: http://svnweb.freebsd.org/changeset/ports/329288
> 
> Log:
>   Detect libexecinfo present on /usr and fix build on -CURRENT
>   
>   Approved by:	beat@ (maintainer)
> 
> Modified:
>   head/www/elinks/Makefile
> 
> Modified: head/www/elinks/Makefile
> ==============================================================================
> --- head/www/elinks/Makefile	Fri Oct  4 11:09:38 2013	(r329287)
> +++ head/www/elinks/Makefile	Fri Oct  4 11:28:29 2013	(r329288)
> @@ -197,7 +197,9 @@ CONFIGURE_ARGS+=	${ICONV_CONFIGURE_ARG}
>  #
>  # Elinks will try to use it if exists
>  #
> -.if exists(${LOCALBASE}/include/execinfo.h)
> +.if exists(/usr/include/execinfo.h)
> +LDFLAGS+=	-lexecinfo
> +.else if exists(${LOCALBASE}/include/execinfo.h)

Should be .elif

"Makefile", line 202: warning: junk after .else ignored 'if
exists(${LOCALBASE}/include/execinfo.h)'



>  LIB_DEPENDS+=	execinfo.1:${PORTSDIR}/devel/libexecinfo
>  LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
>  .endif
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20131005/cf76f54f/attachment.sig>


More information about the svn-ports-all mailing list