Date: Mon, 18 Sep 2006 02:43:14 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jharris@widomaker.com Subject: ports/103342: [PATCH] www/elinks: fix building under some circumstanices, fix typo Message-ID: <20060917224315.02C2A11B8A@fonon.realnet> Resent-Message-ID: <200609172250.k8HMoJ8h072554@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103342 >Category: ports >Synopsis: [PATCH] www/elinks: fix building under some circumstanices, fix typo >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 17 22:50:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug 31 10:34:52 MSD 2006 >Description: - Doesn't build when asciidoc is installed because of typo in configure - 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 The following files was added: - files/patch-configure Copy of this message was sent to (jharris@widomaker.com). >How-To-Repeat: >Fix: --- elinks-0.11.1.patch begins here --- Index: Makefile =================================================================== RCS file: /work/src/fbsd-cvs/ports/www/elinks/Makefile,v retrieving revision 1.41 diff -u -u -r1.41 Makefile --- Makefile 15 Sep 2006 08:17:10 -0000 1.41 +++ Makefile 17 Sep 2006 22:31:49 -0000 @@ -37,7 +37,7 @@ 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 @@ 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> Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 17 Sep 2006 22:20:42 -0000 @@ -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.* --- elinks-0.11.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060917224315.02C2A11B8A>