Bug 110453

Summary: [PATCH] polish/ekg: unbreak with libexecinfo, remove hidden dependencies
Product: Ports & Packages Reporter: mwisnicki+freebsd
Component: Individual Port(s)Assignee: Rong-En Fan <rafan>
Status: Closed FIXED    
Severity: Affects Only Me CC: alex
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pl-ekg-1.7.r3_1,2.patch none

Description mwisnicki+freebsd 2007-03-17 19:00:11 UTC
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@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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-17 19:00:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2007-03-18 05:48:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Eat.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-04-16 20:29:25 UTC
rafan       2007-04-16 19:29:17 UTC

  FreeBSD ports repository

  Modified files:
    polish/ekg           Makefile pkg-descr 
  Log:
  - When devel/libexecinfo presents, configure script detects but does not
    set LDFLAGS correctly. Therefore, unconditionally depends on libexecinfo
    and set correct LDFLAGS.
  - Disable libungif, libjpeg, and openssl support since they are disabled
    in libgadu
  
  PR:             ports/110453
  Submitted by:   mwisnicki at gmail.com
  Approved by:    maintainer timeout (1 month)
  
  Revision  Changes    Path
  1.25      +9 -3      ports/polish/ekg/Makefile
  1.2       +1 -1      ports/polish/ekg/pkg-descr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2007-04-16 20:29:27 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!