Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 15:19:21 -0700
From:      Charlie Kester <corky1951@comcast.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146892: [MAINTAINER] deskutils/osmo - fix build failure with latest gtk20 and libical
Message-ID:  <20100523221923.8240C1065672@hub.freebsd.org>
Resent-Message-ID: <201005232220.o4NMK1T7027796@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146892
>Category:       ports
>Synopsis:       [MAINTAINER] deskutils/osmo - fix build failure with latest gtk20 and libical
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 22:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Kester <corky1951@comcast.net>
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD atom.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun May 9 20:36:03 PDT 2010 root@atom.local:/usr/obj/usr/src/sys/ATOM i386

>Description:
See the following pointyhat log for details:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.8.20100522155602/osmo-0.2.10.log

In a nutshell, the build failed because some of the libical headers couldn't be found.

The same problem occurs on i386.  

It appears to have been introduced with the most recent updates to gtk20 and libical.

>How-To-Repeat:
	
>Fix:
Add explicit include path to libical header files.

While we're here, also add dependency on libgtkhtml as required to enable Contacts module.

--- osmo-0.2.10.diff begins here ---
diff -ruN /usr/ports/deskutils/osmo/Makefile ./osmo/Makefile
--- /usr/ports/deskutils/osmo/Makefile	2010-05-23 14:41:21.000000000 -0700
+++ ./osmo/Makefile	2010-05-23 14:54:01.000000000 -0700
@@ -17,14 +17,16 @@
 		notify:${PORTSDIR}/devel/libnotify \
 		ical:${PORTSDIR}/devel/libical \
 		tar:${PORTSDIR}/devel/libtar \
-		gringotts:${PORTSDIR}/security/libgringotts
+		gringotts:${PORTSDIR}/security/libgringotts \
+		gtkhtml:${PORTSDIR}/www/libgtkhtml
 
 USE_GNOME=	gtk20
 USE_GETTEXT=	yes
 INSTALLS_ICONS=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib" \
+		CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libical"
 
 USE_GMAKE=	yes
 
--- osmo-0.2.10.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100523221923.8240C1065672>