Detect libexecinfo present on /usr and fix build on -CURRENT
Approved by: beat@ (maintainer)
This commit is contained in:
parent
188f97299d
commit
514aa78922
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329288
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user