aboutsummaryrefslogtreecommitdiffstats
path: root/www/elinks
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-10-03 21:32:44 +0800
committerstas <stas@FreeBSD.org>2006-10-03 21:32:44 +0800
commit48d547c81574b1f69bab41a3e632750f33499495 (patch)
tree4c461cfbee57b4fdfd20bb58077bae5ae23163e1 /www/elinks
parent547389f02b2bbe53c60eaa84887d553433960821 (diff)
downloadfreebsd-ports-gnome-48d547c81574b1f69bab41a3e632750f33499495.tar.gz
freebsd-ports-gnome-48d547c81574b1f69bab41a3e632750f33499495.tar.zst
freebsd-ports-gnome-48d547c81574b1f69bab41a3e632750f33499495.zip
- 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)
Diffstat (limited to 'www/elinks')
-rw-r--r--www/elinks/Makefile10
-rw-r--r--www/elinks/files/patch-configure11
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.*