Date: Tue, 9 Feb 2016 20:19:07 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408591 - head/net-im/uTox Message-ID: <201602092019.u19KJ7UX048597@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Feb 9 20:19:07 2016 New Revision: 408591 URL: https://svnweb.freebsd.org/changeset/ports/408591 Log: - Add missing sodium dependency - Add a check for that net-im/tox dependency was built with correct options PR: 206706 Submitted by: fidaj@ukr.net (maintainer) Reported by: rozhuk.im@gmail.com Modified: head/net-im/uTox/Makefile Modified: head/net-im/uTox/Makefile ============================================================================== --- head/net-im/uTox/Makefile Tue Feb 9 20:06:21 2016 (r408590) +++ head/net-im/uTox/Makefile Tue Feb 9 20:19:07 2016 (r408591) @@ -2,6 +2,7 @@ PORTNAME= uTox PORTVERSION= 0.5.1.20160121 +PORTREVISION= 1 CATEGORIES= net-im net-p2p MAINTAINER= fidaj@ukr.net @@ -14,6 +15,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxco ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ + libsodium.so:${PORTSDIR}/security/libsodium \ libv4lconvert.so:${PORTSDIR}/multimedia/libv4l \ libvpx.so:${PORTSDIR}/multimedia/libvpx \ libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio @@ -33,10 +35,16 @@ OPTIONS_DEFAULT= DBUS DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus DBUS_MAKE_ARGS_OFF= DBUS=0 -pre-configure: +post-patch: @${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|' \ -e 's|share/man|man|' ${WRKSRC}/${MAKEFILE} +pre-configure: + @(if [ ! -e "${LOCALBASE}/lib/libtoxav.so" ]; then \ + ${ECHO_CMD} "==> ${PKGNAME} requires net-im/tox port to be built with SODIUM option enabled"; \ + ${FALSE}; \ + fi) + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602092019.u19KJ7UX048597>