Bug 88674 - [patch] www/epiphany shall depend on devel/libexecinfo
Summary: [patch] www/epiphany shall depend on devel/libexecinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 17:00 UTC by Kostik Belousov
Modified: 2005-11-13 21:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostik Belousov 2005-11-08 17:00:31 UTC
              When building www/epiphany 1.8.2 (port Makefile rev. 1.82) with
devel/libexecinfo installed, epiphany configuration script detects presense
of the (Linux-like) backtrace functions and source uses it. This causes the
problem since Linux contains the functions in glibc. On FreeBSD, -lexecinfo
shell be added to the linker command line.

I propose to enforce dependency on devel/libexecinfo (as it was done in
exactly the same situation for lang/smalltalk).

Fix: The following patch works for me



MOZILLA=       mozilla
 HEADERS_SUFX=
@@ -57,7 +58,7 @@
 CONFIGURE_ARGS=        --with-mozilla=${MOZ_BUILD} \
                --disable-python
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
-               LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+               LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lexecinfo"

 GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas--GAadE955JyeX6IfS7LlHLgoKFBmwmINZShYIm7FOeT6lCYWN
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

Index: Makefile
===================================================================
RCS file: /usr/local/arch/ncvs/ports/www/epiphany/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- Makefile    5 Nov 2005 04:53:29 -0000       1.82
+++ Makefile    8 Nov 2005 16:36:58 -0000
@@ -20,6 +20,7 @@
                ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
 RUN_DEPENDS=   ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} \
                ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
+LIB_DEPENDS=   execinfo.1:${PORTSDIR}/devel/libexecinfo
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-08 17:03:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2005-11-13 21:35:50 UTC
State Changed
From-To: open->closed

The libexecinfo in ports is too old to be of any use, so support has been 
disabled.