aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/toxic
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-09-10 04:23:16 +0800
committerthierry <thierry@FreeBSD.org>2014-09-10 04:23:16 +0800
commitea3c09b5b0eda1dc80cc64232644b761d54bfaf1 (patch)
tree00770497f5f6def13cda0cd5a5fb6730eacc0140 /net-im/toxic
parent0c574c2f822333af199f0a4659b4b691ab708fc1 (diff)
downloadfreebsd-ports-gnome-ea3c09b5b0eda1dc80cc64232644b761d54bfaf1.tar.gz
freebsd-ports-gnome-ea3c09b5b0eda1dc80cc64232644b761d54bfaf1.tar.zst
freebsd-ports-gnome-ea3c09b5b0eda1dc80cc64232644b761d54bfaf1.zip
- Fix build when X11 option is off
- Move openal/freealut to USES - Allow using ncurses from base system PR: ports/193483, ports/193485 Submitted by: Andriy Voskoboinyk
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 5ddc6d664a54..4ba7a1292511 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -3,6 +3,7 @@
PORTNAME= toxic
PORTVERSION= 0.5.0.140908
+PORTREVISION= 1
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -13,9 +14,7 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx \
libopus.so:${PORTSDIR}/audio/opus \
- libalut.so:${PORTSDIR}/audio/freealut \
- libconfig.so:${PORTSDIR}/devel/libconfig \
- libopenal.so.1:${PORTSDIR}/audio/openal-soft
+ libconfig.so:${PORTSDIR}/devel/libconfig
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
@@ -27,7 +26,7 @@ OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
X11_USE= XORG=x11
-X11_CFLAGS_OFF= DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1
+X11_MAKE_ARGS_OFF= DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1
X11_LIB_DEPENDS=libnotify.so:${PORTSDIR}/devel/libnotify
WRKSRC= ${WRKDIR}/Tox-${PORTNAME}-${GH_COMMIT}
@@ -36,7 +35,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
-USES= ncurses:port gmake pkgconfig
+USES= ncurses openal:al,alut gmake pkgconfig
.include <bsd.port.pre.mk>