Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 20:23:16 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367774 - head/net-im/toxic
Message-ID:  <201409092023.s89KNGLg070283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Tue Sep  9 20:23:16 2014
New Revision: 367774
URL: http://svnweb.freebsd.org/changeset/ports/367774
QAT: https://qat.redports.org/buildarchive/r367774/

Log:
  - 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

Modified:
  head/net-im/toxic/Makefile

Modified: head/net-im/toxic/Makefile
==============================================================================
--- head/net-im/toxic/Makefile	Tue Sep  9 20:14:25 2014	(r367773)
+++ head/net-im/toxic/Makefile	Tue Sep  9 20:23:16 2014	(r367774)
@@ -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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409092023.s89KNGLg070283>