Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 11:28:29 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329288 - head/www/elinks
Message-ID:  <201310041128.r94BSTIs089127@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 LIB_DEPENDS+=	execinfo.1:${PORTSDIR}/devel/libexecinfo
 LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
 .endif



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