mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
- Add optional knob for libical
PR: ports/75442 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer) Requested by: Sven Berkvens-Matthijsse <sven@berkvens.net>
This commit is contained in:
parent
821a521b51
commit
d006f1a657
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125375
@ -43,6 +43,14 @@ WANT_GNOME= yes
|
||||
|
||||
.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
|
||||
|
@ -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_LIBS%% -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user