From nobody@FreeBSD.org  Mon Mar  7 07:59:52 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 668D3106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Mar 2011 07:59:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3C3698FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Mar 2011 07:59:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p277xqZe040349
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 Mar 2011 07:59:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p277xqeJ040348;
	Mon, 7 Mar 2011 07:59:52 GMT
	(envelope-from nobody)
Message-Id: <201103070759.p277xqeJ040348@red.freebsd.org>
Date: Mon, 7 Mar 2011 07:59:52 GMT
From: Ron MacNeil <macro@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Teach deskutils/orage how to find libical includes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         155339
>Category:       ports
>Synopsis:       [patch] Teach deskutils/orage how to find libical includes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 07 08:00:20 UTC 2011
>Closed-Date:    Mon Mar 07 09:56:19 UTC 2011
>Last-Modified:  Mon Mar  7 10:00:20 UTC 2011
>Originator:     Ron MacNeil
>Release:        FreeBSD 8.2-STABLE
>Organization:
>Environment:
FreeBSD ??? 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Mar  5 23:57:27 PST 2011     ???@???:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
Build of deskutils/orage fails as follows:

[...]
gcc45 -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -L/usr/local/lib -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/drm   -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"  -I/usr/local/include/   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -O2 -fno-strict-aliasing -pipe -Wl,-O1 -Wl,--as-needed -march=native -MT orage-ical-archive.o -MD -MP -MF .deps/orage-ical-archive.Tpo -c -o orage-ical-archive.o `test -f 'ical-archive.c' || echo './'`ica
 l-archive.c
In file included from ical-archive.c:56:0:
/usr/local/include/libical/icalss.h:38:27: fatal error: icalcomponent.h: No such file or directory
compilation terminated.
gmake[2]: *** [orage-ical-archive.o] Error 1
gmake[2]: Leaving directory `/usr/ports/deskutils/orage/work/orage-4.8.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/deskutils/orage/work/orage-4.8.1'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/deskutils/orage.

>How-To-Repeat:

>Fix:
Patch for deskutils/orage/Makefile from discussion here:

http://www.mail-archive.com/freebsd-ports@freebsd.org/msg32409.html


--- Makefile.old	2011-03-06 23:51:46.000000000 -0800
+++ Makefile	2011-03-06 23:53:05.000000000 -0800
@@ -44,6 +44,9 @@
 
 .if defined(WITH_ICAL)
 LIB_DEPENDS+=	ical.44:${PORTSDIR}/devel/libical
+CFLAGS+=		-I${LOCALBASE}/include/libical
+.else
+CONFIGURE_ARGS+=--disable-libical
 .endif
 
 post-patch:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Mar 7 08:00:32 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155339 
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Mon Mar 7 09:56:05 UTC 2011 
State-Changed-Why:  
committed/fixed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155339 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/155339: commit references a PR
Date: Mon,  7 Mar 2011 09:56:03 +0000 (UTC)

 oliver      2011-03-07 09:55:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     deskutils/orage      Makefile pkg-plist 
   Log:
   fix build when libical is enabled
   
   Submitted By:   Ron MacNeil <macro@hotmail.com>
   PR:             155339
   
   Revision  Changes    Path
   1.27      +5 -0      ports/deskutils/orage/Makefile
   1.8       +604 -604  ports/deskutils/orage/pkg-plist
 _______________________________________________
 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"
 
>Unformatted:
