From 5ec9d3905ceaeec3b6d1f7cb7a28d0efbb513c63 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Tue, 9 Sep 2014 20:23:16 +0000 Subject: - 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 --- net-im/toxic/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'net-im/toxic') 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 -- cgit v1.2.3