ports/88674: [patch] www/epiphany shall depend on devel/libexecinfo

Kostik Belousov kostikbel at gmail.com
Tue Nov 8 17:00:36 UTC 2005


>Number:         88674
>Category:       ports
>Synopsis:       [patch] www/epiphany shall depend on devel/libexecinfo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 17:00:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kostik Belousov
>Release:        FreeBSD 6.0-STABLE
>Organization:
>Environment:
FreeBSD deviant.kiev.zoral.com.ua 6.0-STABLE FreeBSD 6.0-STABLE #34: Wed Nov  2 11:48:22 EET 2005 root at deviant.kiev.zoral.com.ua:/usr/obj/usr/src/sys/DEVIANT  i386
>Description:
              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).
>How-To-Repeat:
              
>Fix:
              The following patch works for me

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

 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

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list