ports/110453: [PATCH] polish/ekg: unbreak with libexecinfo, remove hidden dependencies
Marcin Wisnicki
mwisnicki+freebsd at gmail.com
Sat Mar 17 19:00:12 UTC 2007
>Number: 110453
>Category: ports
>Synopsis: [PATCH] polish/ekg: unbreak with libexecinfo, remove hidden dependencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 17 19:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Marcin Wisnicki
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 6.2-STABLE FreeBSD 6.2-STABLE #5: Sat Feb 10 23:20:51 CET 2007
>Description:
When devel/libexecinfo is installed, ekg's configure picks it up but it doesn't
link with libexecinfo since the functionality is in libc on linux and that
breaks the build. Attached patch adds unconditional dependency on libexecinfo
since it's easier that way and libexecinfo is only 10kb large.
Also I've noticed that ekg will use libungif and libjpeg if installed.
I have explicitly disabled them, as well as support for openssl, since it is
disabled in libgadu.
Port maintainer (alex at bsdguru.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
cd /usr/ports/polish/ekg; make
:
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
:
cc -I.. -I../lib -O2 -fno-strict-aliasing -pipe -march=athlon-xp -I/usr/local/include -Wall -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -o ekg stuff.o commands.o events.o themes.o vars.o dynstuff.o userlist.o ekg.o xmalloc.o mail.o msgqueue.o emoticons.o configfile.o simlite.o ui-ncurses.o ui-batch.o ui-none.o log.o -L../lib -lgadu -lz -ljpeg -lungif -lssl -lcrypto -L/usr/local/lib -lncurses -laspell
ekg.o(.text+0x87c): In function `handle_sigsegv':
: undefined reference to `backtrace'
ekg.o(.text+0x88c): In function `handle_sigsegv':
: undefined reference to `backtrace_symbols_fd'
gmake[1]: *** [ekg] Error 1
gmake[1]: Leaving directory `/home/pub/ports-build/usr/ports/polish/ekg/work/ekg-1.7rc3/src'
gmake: *** [ekg] Error 2
*** Error code 2
>Fix:
--- pl-ekg-1.7.r3_1,2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/polish/ekg.orig/Makefile /usr/ports/polish/ekg/Makefile
--- /usr/ports/polish/ekg.orig/Makefile Mon Mar 12 15:05:53 2007
+++ /usr/ports/polish/ekg/Makefile Sat Mar 17 19:33:07 2007
@@ -6,6 +6,7 @@
PORTNAME= ekg
PORTVERSION= 1.7.r3
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= polish net-im
MASTER_SITES= http://ekg.chmurka.net/
@@ -14,18 +15,23 @@
MAINTAINER= alex at bsdguru.org
COMMENT= Text-mode Gadu-Gadu client
-LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/libgadu
+LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
+ gadu.3:${PORTSDIR}/polish/libgadu
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
CONFIGURE_ARGS+= --disable-shared \
--disable-static \
- --enable-dynamic
+ --enable-dynamic \
+ --without-openssl \
+ --disable-libgadu-openssl \
+ --without-libungif \
+ --without-libjpeg
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lexecinfo"
OPTIONS= ASPELL "Build with ASPELL support" off
diff -ruN --exclude=CVS /usr/ports/polish/ekg.orig/pkg-descr /usr/ports/polish/ekg/pkg-descr
--- /usr/ports/polish/ekg.orig/pkg-descr Mon Jul 21 14:47:08 2003
+++ /usr/ports/polish/ekg/pkg-descr Sat Mar 17 17:59:56 2007
@@ -1,4 +1,4 @@
Text-based Gadu-Gadu client for Unix-like systems.
Gadu-Gadu is an ICQ-like messenger for polish language users.
-WWW: http://dev.null.pl/ekg/
+WWW: http://ekg.chmurka.net/
--- pl-ekg-1.7.r3_1,2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list