aboutsummaryrefslogtreecommitdiff
path: root/net-im/toxic
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-09-09 20:23:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-09-09 20:23:16 +0000
commit5ec9d3905ceaeec3b6d1f7cb7a28d0efbb513c63 (patch)
tree00770497f5f6def13cda0cd5a5fb6730eacc0140 /net-im/toxic
parent7d07f3f87bd1302a0baff2353966c5838651f6f7 (diff)
downloadports-5ec9d3905ceaeec3b6d1f7cb7a28d0efbb513c63.tar.gz
ports-5ec9d3905ceaeec3b6d1f7cb7a28d0efbb513c63.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
Notes
Notes: svn path=/head/; revision=367774
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>