Bug 171302 - net/ekiga3 won't build with KDE4
Summary: net/ekiga3 won't build with KDE4
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: 2012-09-04 02:20 UTC by Callum Gibson
Modified: 2012-12-29 06:00 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 Callum Gibson 2012-09-04 02:20:08 UTC
Building of net/ekiga3 fails when built with KDE4 (admittedly experimental) because it can't find the libraries.

The port Makefile includes a special addition to configure for include, but not for libs. Adding this corrects the issue.

Fix: 

Add the line:
CONFIGURE_ENV+=         KDE_LIBS="-L${KDE4_PREFIX}/lib"
under the similar line which sets KDE_CFLAGS.
How-To-Repeat: Try to build net/ekiga3 and note breakage (can't find -lkdeui).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-04 02:20:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2012-12-29 05:50:41 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-12-29 05:50:41 UTC
Author: mezz
Date: Sat Dec 29 05:50:33 2012
New Revision: 309609
URL: http://svnweb.freebsd.org/changeset/ports/309609

Log:
  Fix the build with KDE4.
  
  PR:		ports/171302
  Submitted by:	Callum Gibson <callumgibson@optusnet.com.au>

Modified:
  head/net/ekiga3/Makefile   (contents, props changed)

Modified: head/net/ekiga3/Makefile
==============================================================================
--- head/net/ekiga3/Makefile	Sat Dec 29 05:45:32 2012	(r309608)
+++ head/net/ekiga3/Makefile	Sat Dec 29 05:50:33 2012	(r309609)
@@ -65,7 +65,8 @@ CONFIGURE_ARGS+=	--disable-kde
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_KDE4)
-CONFIGURE_ENV+=		KDE_CFLAGS="-I${KDE4_PREFIX}/include -I${QT_INCDIR} -I${LOCALBASE}/include"
+CONFIGURE_ENV+=		KDE_CFLAGS="-I${KDE4_PREFIX}/include -I${QT_INCDIR} -I${LOCALBASE}/include" \
+			KDE_LIBS="-L${KDE4_PREFIX}/lib"
 K4_INC=			${KDE4_PREFIX:C/\//\\\//g}
 .endif
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"