diff --git a/uTox.orig/Makefile b/uTox_n_b/Makefile index 9778156..3629741 100644 --- a/uTox.orig/Makefile +++ b/uTox_n_b/Makefile @@ -11,6 +11,7 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox \ + libsodium.so:${PORTSDIR}/security/libsodium \ ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ @@ -33,6 +34,12 @@ OPTIONS_DEFAULT= DBUS DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus DBUS_MAKE_ARGS_OFF= DBUS=0 +.include + +.if !exists(${LOCALBASE}/lib/libtoxav.so) +BROKEN= Port net-im/tox must be build with option SODIUM +.endif + pre-configure: @${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|' \ -e 's|share/man|man|' ${WRKSRC}/${MAKEFILE}