svn commit: r329288 - head/www/elinks
Renato Botelho
garga at FreeBSD.org
Fri Oct 4 11:28:30 UTC 2013
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
More information about the svn-ports-head
mailing list