diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2006-10-03 13:32:44 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2006-10-03 13:32:44 +0000 |
commit | 3d5ebdecc948eb890644eb242a6bf17acb3cd59a (patch) | |
tree | 2dcc86d626a0b3e811987979dda2adaeec039543 /www/elinks | |
parent | - Fix compiling with gcc 4.1 (diff) |
- Doesn't build when asciidoc is installed because of typo in configure.
Fix that.
- Doesn't build when libexecinfo installed as it tryes to use bactrace
functions but doesn't gets linked against it. Explicitly link it.
- Fix typo in OPTIONS.
PR: ports/103342
Submitted by: me (stas)
Approved by: maintainer timeout (2 weeks), sem (mentor)
Notes
Notes:
svn path=/head/; revision=174370
Diffstat (limited to 'www/elinks')
-rw-r--r-- | www/elinks/Makefile | 10 | ||||
-rw-r--r-- | www/elinks/files/patch-configure | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 7ea3ff7f9634..30a07842ed53 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -37,7 +37,7 @@ OPTIONS= 88COLORS "Enable 88 color support" on \ NNTP "Enable NNTP (News) protocol support" off \ FTP "Enable FTP protocol support" on \ FSP "Enable FSP protocol support (via fsplib)" off \ - SMB "Enable SMP protocol support (via smbclient)" off \ + SMB "Enable SMB protocol support (via smbclient)" off \ EXMODE "Enable exmode (CLI) support" on \ HIGHLIGHT "Enable HTML highlighting using DOM engine" on \ IDN "Enable international domain name support" off \ @@ -195,4 +195,12 @@ USE_ICONV= yes CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE} .endif +# +# Elinks will try to use it if exists +# +.if exists(${LOCALBASE}/include/execinfo.h) +LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo +LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo +.endif + .include <bsd.port.post.mk> diff --git a/www/elinks/files/patch-configure b/www/elinks/files/patch-configure new file mode 100644 index 000000000000..475aae7213a3 --- /dev/null +++ b/www/elinks/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Sep 18 02:20:15 2006 ++++ configure Mon Sep 18 02:20:37 2006 +@@ -2959,7 +2959,7 @@ + + + echo > config.asciidoc-unsafe.txt +- if "$ASCIIDOC" --unsafe config.asciidoc-unsafe.txt >&/dev/null; then ++ if "$ASCIIDOC" --unsafe config.asciidoc-unsafe.txt 2>&1 >/dev/null; then + ASCIIDOC_FLAGS=--unsafe + fi + rm config.asciidoc-unsafe.* |