aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gnokii/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-29 04:52:16 +0800
committerpav <pav@FreeBSD.org>2004-12-29 04:52:16 +0800
commitdbc0abf5e599d27d8b0be472145ee79fbf620975 (patch)
treef90ab5eb1683a6929481d8ec0a24f5426182afc5 /comms/gnokii/Makefile
parent07032561901de8752fa4287de878516dd13970cc (diff)
downloadfreebsd-ports-gnome-dbc0abf5e599d27d8b0be472145ee79fbf620975.tar.gz
freebsd-ports-gnome-dbc0abf5e599d27d8b0be472145ee79fbf620975.tar.zst
freebsd-ports-gnome-dbc0abf5e599d27d8b0be472145ee79fbf620975.zip
- Add optional knob for libical
PR: ports/75442 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer) Requested by: Sven Berkvens-Matthijsse <sven@berkvens.net>
Diffstat (limited to 'comms/gnokii/Makefile')
-rw-r--r--comms/gnokii/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index 4421dbaee7c7..2025818b2a86 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -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