diff options
author | garga <garga@FreeBSD.org> | 2013-10-04 19:28:29 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-10-04 19:28:29 +0800 |
commit | 88fa513e3b6540c2e7f3569f485642c9fc60a940 (patch) | |
tree | 6b4e78e4c22e1bfc85db8d27b108e25ccdb0dee9 /www | |
parent | 338c28c51fd664d3d842d85b53e0927a9915c0be (diff) | |
download | freebsd-ports-gnome-88fa513e3b6540c2e7f3569f485642c9fc60a940.tar.gz freebsd-ports-gnome-88fa513e3b6540c2e7f3569f485642c9fc60a940.tar.zst freebsd-ports-gnome-88fa513e3b6540c2e7f3569f485642c9fc60a940.zip |
Detect libexecinfo present on /usr and fix build on -CURRENT
Approved by: beat@ (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/elinks/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 8cc8895322c2..fe5b61ef00f2 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -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 |