aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-12 10:38:53 +0800
committermarino <marino@FreeBSD.org>2014-07-12 10:38:53 +0800
commit597d88b20f0355104899062439f6d55a73fd6a26 (patch)
tree2a360ef275f3cd2bf96f4d46dd10c153e1038927 /irc
parent9f393d37b3f8ac4f25cdaf581d7309ea2080ed1a (diff)
downloadfreebsd-ports-gnome-597d88b20f0355104899062439f6d55a73fd6a26.tar.gz
freebsd-ports-gnome-597d88b20f0355104899062439f6d55a73fd6a26.tar.zst
freebsd-ports-gnome-597d88b20f0355104899062439f6d55a73fd6a26.zip
irc/minbif: Depend on imlib2 with CACA option only
PR: 186962 Submitted by: Chris Nehren
Diffstat (limited to 'irc')
-rw-r--r--irc/minbif/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/irc/minbif/Makefile b/irc/minbif/Makefile
index 71024b4bac40..57133227914a 100644
--- a/irc/minbif/Makefile
+++ b/irc/minbif/Makefile
@@ -3,7 +3,7 @@
PORTNAME= minbif
PORTVERSION= 1.0.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= irc net-im
MASTER_SITES= https://symlink.me/attachments/download/148/
@@ -25,8 +25,6 @@ USE_RC_SUBR= minbif
USES= cmake pkgconfig
USE_GNOME= glib20
-USE_EFL= imlib2
-CMAKE_ARGS= -DENABLE_IMLIB:BOOL=ON
CFLAGS+= -DX_DISPLAY_MISSING
LDFLAGS+= -pthread
@@ -43,8 +41,8 @@ PLIST_FILES= bin/minbif %%ETCDIR%%/minbif.conf-dist \
PLIST_DIRS= %%ETCDIR%%
CACA_LIB_DEPENDS= libcaca.so:${PORTSDIR}/graphics/libcaca
-CACA_CMAKE_ON= -DENABLE_CACA:BOOL=ON
-CACA_CMAKE_OFF= -DENABLE_CACA:BOOL=OFF
+CACA_CMAKE_ON= -DENABLE_CACA:BOOL=ON -DENABLE_IMLIB:BOOL=ON
+CACA_CMAKE_OFF= -DENABLE_CACA:BOOL=OFF -DENABLE_IMLIB:BOOL=OFF
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CMAKE_ON= -DENABLE_TLS:BOOL=ON
@@ -66,9 +64,12 @@ CMAKE_ARGS+= -DENABLE_VIDEO:BOOL=ON
CMAKE_ARGS+= -DENABLE_VIDEO:BOOL=OFF
.endif
+.if ${PORT_OPTIONS:MCACA}
+USE_EFL= imlib2
+.endif
+
.if ${PORT_OPTIONS:MVIDEO} && empty(PORT_OPTIONS:MCACA)
-IGNORE= if you want to enable webcam support, you must \
- also enable CACA.
+IGNORE= if you want to enable webcam support, you must also enable CACA
.endif
post-patch: