Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 12:10:36 GMT
From:      Guido Falsi <mad@madpilot.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/75442: gnokii port does not include ical support
Message-ID:  <200412271210.iBRCAan6044703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/75442; it has been noted by GNATS.

From: Guido Falsi <mad@madpilot.net>
To: Volker Stolz <vs@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org, sven@berkvens.net
Subject: Re: ports/75442: gnokii port does not include ical support
Date: Mon, 27 Dec 2004 13:09:43 +0100

 On Mon, Dec 27, 2004 at 12:22:50PM +0100, Volker Stolz wrote:
 > Dear maintainer, please look into this issue!
 
 Here is a patch to the port. It fixes the problem and also automatically
 adds the dependency on ical library, or calls it with the new knob
 "WITH_ICAL", I took the idea from the mplayer port which has lots of
 such knobs.
 
 -- 
 Guido Falsi <mad@madpilot.net>
 
 diff -ruN gnokii.old/Makefile gnokii/Makefile
 --- gnokii.old/Makefile	Mon Dec 27 12:45:36 2004
 +++ gnokii/Makefile	Mon Dec 27 13:04:06 2004
 @@ -43,6 +43,14 @@
  
  .include <bsd.port.pre.mk>
  
 +.if exists(${LOCALBASE}/lib/libical.so.0)
 +WITH_ICAL=	yes
 +.endif
 +
 +.if defined(WITH_ICAL)
 +LIB_DEPENDS+=	ical.0:${PORTSDIR}/devel/libical
 +.endif
 +
  # If smsd is enabled check if MySQL or PostgreSQL are installed and
  # build the modules, no switches to make this port build those, if
  # you want them, just install them before this port. The port will
 diff -ruN gnokii.old/files/patch-configure gnokii/files/patch-configure
 --- gnokii.old/files/patch-configure	Mon Dec 27 12:45:36 2004
 +++ gnokii/files/patch-configure	Mon Dec 27 12:49:07 2004
 @@ -1,5 +1,5 @@
 ---- configure.orig	Mon Jul  5 00:04:50 2004
 -+++ configure	Tue Jul  6 12:56:33 2004
 +--- configure.orig	Sun Oct 17 21:44:38 2004
 ++++ configure	Mon Dec 27 12:48:43 2004
  @@ -26348,13 +26348,15 @@
   # First of all, check if the user has set any of the PTHREAD_LIBS,
   # etcetera environment variables, and if threads linking works using
 @@ -30,3 +30,12 @@
                   *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
           esac
           echo "$as_me:$LINENO: result: ${flag}" >&5
 +@@ -27570,7 +27572,7 @@
 + USE_LIBICAL="no"
 + OLD_LIBS="$LIBS"
 + OLD_CFLAGS="$CFLAGS"
 +-LIBS="$LIBS $ICAL_LIBS -lpthread -lical"
 ++LIBS="$LIBS $ICAL_LIBS -L/usr/local -pthread -lical"
 + CFLAGS="$CFLAGS $ICAL_CFLAGS"
 + echo "$as_me:$LINENO: checking whether libical is installed" >&5
 + echo $ECHO_N "checking whether libical is installed... $ECHO_C" >&6



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